flatten indentation (unnecessary else)

This commit is contained in:
Jan Petykiewicz 2024-08-01 00:34:52 -07:00
parent a3978b5f5e
commit 7c718401d4

View File

@ -276,7 +276,6 @@ def _get_topcell(
""" """
if name is None: if name is None:
return layout.top_cell() return layout.top_cell()
else:
ind = layout.cell_by_name(name) ind = layout.cell_by_name(name)
return layout.cell(ind) return layout.cell(ind)