just a style thing
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 21 Mar 2020 18:14:18 +0000 (18:14 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 21 Mar 2020 18:14:18 +0000 (18:14 +0000)
experiments7/doAlu16.py

index 9284c6d72573daba137ca354055edc3c548730c5..17a118d1e479f489436b0abbeede9f3742e913f7 100755 (executable)
@@ -74,8 +74,8 @@ def create_pins(cell, net, name, direction,
         cell = af.getCell(cell, CRL.Catalog.State.Logical)
 
     if layer is None:
-        layer = get_layer('METAL3')
-    elif isinstance(layer, basestring):
+        layer = 'METAL3'
+    if isinstance(layer, basestring):
         layer = get_layer(layer)
 
     if isinstance(repeat, int):