005-tilegrid/util.py: return after check

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
Alessandro Comodi 2019-01-11 15:30:38 +01:00
parent ccb43370fa
commit 93bc30ac10
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ def add_tile_bits(
assert block["offset"] == offset, "%s; orig offset %s, new %s" % (
tile_name, block["offset"], offset)
assert block["words"] == words
return
block = bits.setdefault(block_type, {})