Parens around print args in python scripts

This commit is contained in:
Stephen Sherratt
2017-02-22 12:19:24 +11:00
parent 4632e77d85
commit 7337f9e8df

View File

@@ -985,13 +985,13 @@ def main():
if line.startswith('CONFIG_WORD_SIZE'):
wordsize = int(line.split('=')[1].strip())
except IndexError:
print "Invalid word size in configuration file."
print("Invalid word size in configuration file.")
sys.exit(2)
else:
wordsize = int(args.wsize)
if wordsize is -1:
print "Invalid word size."
print("Invalid word size.")
sys.exit(2)
# Generate the stubs.