Use return of StopIteration.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman 2019-02-02 07:46:59 -08:00
parent fcc21c9989
commit 9042849c66
1 changed files with 1 additions and 1 deletions

View File

@ -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