tools/sorted_modules.py : make python3 safe
Trivial updates to print statements only Change-Id: I633c21a226364d045fc1650cb41b79b83988d7db
This commit is contained in:
parent
0c84fcdb91
commit
c807245d8b
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user