tools/sorted_modules.py : make python3 safe

Trivial updates to print statements only

Change-Id: I633c21a226364d045fc1650cb41b79b83988d7db
This commit is contained in:
Ian Wienand 2018-06-15 13:54:19 +10:00
parent 0c84fcdb91
commit c807245d8b

View File

@ -8,9 +8,9 @@ def assert_sorted(lines):
if lines == sorted(lines):
return True
else:
print "Modules not sorted:"
print("Modules not sorted:")
for line in difflib.context_diff(lines, sorted(lines)):
print line
print(line)
sys.exit(1)