Fix malformed generated file when using python 2.7
This commit is contained in:
parent
d51cfd155c
commit
7a996b1f65
@ -40,7 +40,7 @@ def do_work(infiles):
|
|||||||
|
|
||||||
# process the qstrs, printing out the generated C header file
|
# process the qstrs, printing out the generated C header file
|
||||||
print('// This file was automatically generated by makeqstrdata.py')
|
print('// This file was automatically generated by makeqstrdata.py')
|
||||||
print()
|
print('')
|
||||||
for qstr in qstrs:
|
for qstr in qstrs:
|
||||||
qhash = compute_hash(qstr)
|
qhash = compute_hash(qstr)
|
||||||
qlen = len(qstr)
|
qlen = len(qstr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user