utils: Fix formatting.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2019-01-30 17:20:27 +11:00
parent 57237d185d
commit c52e3fd04a
1 changed files with 2 additions and 1 deletions

View File

@ -311,7 +311,8 @@ def sort_db(filename):
copy.sort(key=cmp.cmp_key)
assert len(copy) == len(tosort)
for i in range(0, len(copy)):
assert copy[i] == tosort[i], "\n%r\n != \n%r\n" % (copy[i], tosort[i])
assert copy[i] == tosort[i], "\n%r\n != \n%r\n" % (
copy[i], tosort[i])
with open(filename, 'w') as f:
for _, l in tosort: