Merge "tools/sorted_modules.py : make python3 safe"

This commit is contained in:
Zuul 2018-06-26 23:12:57 +00:00 committed by Gerrit Code Review
commit 61eff41bac

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)