mirror of https://github.com/openXC7/prjxray.git
Use return of StopIteration.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
fcc21c9989
commit
9042849c66
|
|
@ -107,7 +107,7 @@ class TileSegbits(object):
|
|||
"""
|
||||
|
||||
if block_type not in self.segbits:
|
||||
raise StopIteration()
|
||||
return
|
||||
|
||||
for feature, segbit in self.segbits[block_type].items():
|
||||
match = True
|
||||
|
|
|
|||
Loading…
Reference in New Issue