Commit 040fd4ea authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

I like Maxime's use of .format here.

parent f253c8ba
......@@ -31,7 +31,7 @@ enums_dump = "\n ".join(
enums_dump += "\n ".join(
'printf("%s = %d\\n");' % (name.strip(), val.replace('LL',''))
'printf("{} = {}\\n");'.format(name.strip(), val.replace('LL', ''))
for name, val in enums
uniq = os.getpid()
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