Commit ca3cf514 authored by yb9976's avatar yb9976
Browse files

Always use a list for python3 compatibility.

parent 129c0171
......@@ -130,8 +130,8 @@ def format_pinned(node):
return ""
def format_flags(node):
flags = map(lambda x : "irop_flag_" + x, node.flags)
if flags == []:
flags = list(map(lambda x : "irop_flag_" + x, node.flags))
if not flags:
flags = [ "irop_flag_none" ]
return " | ".join(flags)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment