We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a183b76 commit b66df69Copy full SHA for b66df69
scripts/class_loader_headers_update.py
@@ -34,7 +34,6 @@
34
# Run this script to update legacy pluginlib macros to utilize new
35
# simplified PLUGINLIB_EXPORT_CLASS macro.
36
37
-from __future__ import print_function
38
39
import subprocess
40
@@ -59,8 +58,8 @@
59
58
sed_cmd_suffix = ' {} \; '
60
sed_separator = '@'
61
full_cmd = cmd
62
-for old_header, new_header in header_mappings.iteritems():
63
- for leading_token, ending_token in include_tokens.iteritems():
+for old_header, new_header in header_mappings.items():
+ for leading_token, ending_token in include_tokens.items():
64
full_cmd += \
65
sed_cmd_prefix + sed_separator + \
66
include_prefix + leading_token + old_header + ending_token + sed_separator + \
0 commit comments