mirror of https://github.com/openXC7/prjxray.git
segmaker: remove duplicate len
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
This commit is contained in:
parent
329c1f9a6c
commit
ceb8112e6e
|
|
@ -373,7 +373,7 @@ class Segmaker:
|
||||||
print("Used %u sites" % len(sites_used))
|
print("Used %u sites" % len(sites_used))
|
||||||
print("Grid DB had %u tile types" % len(tile_types_found))
|
print("Grid DB had %u tile types" % len(tile_types_found))
|
||||||
assert ntags == len(tags_used), "Unused tags, %s used out of %s" % (
|
assert ntags == len(tags_used), "Unused tags, %s used out of %s" % (
|
||||||
len(len(tags_used)), ntags)
|
len(tags_used), ntags)
|
||||||
|
|
||||||
def write(self, suffix=None, roi=False, allow_empty=False):
|
def write(self, suffix=None, roi=False, allow_empty=False):
|
||||||
assert self.segments_by_type, 'No data to write'
|
assert self.segments_by_type, 'No data to write'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue