From 109619f5f3fd554bcfc6d05f490bdae2e75aec07 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 23 Mar 2018 05:44:53 +0000 Subject: [PATCH] remove if brackets --- src/parse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parse.py b/src/parse.py index b7bd221..6f4d8c8 100644 --- a/src/parse.py +++ b/src/parse.py @@ -58,7 +58,7 @@ class Parse(object): # Check-1: ensure that no pin is present in both muxed and dedicated pins for muxcell in muxed_cells: for dedcel in dedicated_cells: - if(dedcel[1] in muxcell): + if dedcel[1] in muxcell: print("ERROR: " + str(dedcel[1]) + " present \ in dedicated & muxed lists") exit(1) @@ -72,7 +72,7 @@ class Parse(object): duplicate = False for each in unique: count = pinnumbers.count(each) - if(count > 1): + if count > 1: print("ERROR: Multiple assignment for pin: " + str(each)) duplicate = True if duplicate: -- 2.30.2