Skip to content

Commit b66df69

Browse files
authored
Python 3 support (ros#122)
generated using 2to3
1 parent a183b76 commit b66df69

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/class_loader_headers_update.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
# Run this script to update legacy pluginlib macros to utilize new
3535
# simplified PLUGINLIB_EXPORT_CLASS macro.
3636

37-
from __future__ import print_function
3837

3938
import subprocess
4039

@@ -59,8 +58,8 @@
5958
sed_cmd_suffix = ' {} \; '
6059
sed_separator = '@'
6160
full_cmd = cmd
62-
for old_header, new_header in header_mappings.iteritems():
63-
for leading_token, ending_token in include_tokens.iteritems():
61+
for old_header, new_header in header_mappings.items():
62+
for leading_token, ending_token in include_tokens.items():
6463
full_cmd += \
6564
sed_cmd_prefix + sed_separator + \
6665
include_prefix + leading_token + old_header + ending_token + sed_separator + \

0 commit comments

Comments
 (0)