Merge "tools/sorted_modules.py : make python3 safe"
This commit is contained in:
commit
61eff41bac
@ -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