Fix Future Warning for real

This commit is contained in:
Matt Guthaus
2018-10-10 15:58:16 -07:00
parent 13e83e0f1a
commit 9bb1c2bbcf
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -620,7 +620,7 @@ class VlsiLayout:
def updateBoundary(self,thisBoundary,cellBoundary):
[left_bott_X,left_bott_Y,right_top_X,right_top_Y]=thisBoundary
# If any are None
if cellBoundary[0]==None or cellBoundary[1]==None or cellBoundary[2]==None or cellBoundary[3]==None:
if not (cellBoundary[0] and cellBoundary[1] and cellBoundary[2] and cellBoundary[3]):
cellBoundary=thisBoundary
else:
if cellBoundary[0]>left_bott_X: