summaryrefslogtreecommitdiffstats
path: root/extras/create_new_xlator/generate_xlator.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/create_new_xlator/generate_xlator.py')
-rwxr-xr-xextras/create_new_xlator/generate_xlator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/create_new_xlator/generate_xlator.py b/extras/create_new_xlator/generate_xlator.py
index 3af7ac48d54..1647efa2618 100755
--- a/extras/create_new_xlator/generate_xlator.py
+++ b/extras/create_new_xlator/generate_xlator.py
@@ -36,7 +36,7 @@ def get_error_arg(type_str):
def get_param(names, types):
# Convert two separate tuples to one of (name, type) sub-tuples.
- as_tuples = zip(types, names)
+ as_tuples = list(zip(types, names))
# Convert each sub-tuple into a "type name" string.
as_strings = map(string.join, as_tuples)
# Join all of those into one big string.