mirror of https://github.com/openXC7/prjxray.git
utils: Fix formatting.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
57237d185d
commit
c52e3fd04a
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue