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,9 +276,8 @@ def _get_topcell(
"""
if name is None:
return layout.top_cell()
else:
ind = layout.cell_by_name(name)
return layout.cell(ind)
ind = layout.cell_by_name(name)
return layout.cell(ind)
def _write_net_layout(