Skip to content

Commit

Permalink
Fix indenting in mergedb.py
Browse files Browse the repository at this point in the history
Fixes f4pga#467.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
  • Loading branch information
mithro committed Jan 9, 2019
1 parent ae52c3a commit 3b13f87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions utils/mergedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ def run(fn_ins, fn_out, strict=False, verbose=False):
print(" New line : %s" % line)
assert not strict, "strict: got duplicate bits"

entries[tag] = bits
tags[tag] = (bits, line)
if bits != None:
bitss[bits] = (tag, line)
entries[tag] = bits
tags[tag] = (bits, line)
if bits != None:
bitss[bits] = (tag, line)

util.write_db_lines(fn_out, entries)

Expand Down

0 comments on commit 3b13f87

Please sign in to comment.