projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73dbae5
)
remove if brackets
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 23 Mar 2018 05:44:53 +0000
(
05:44
+0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 23 Mar 2018 05:44:53 +0000
(
05:44
+0000)
src/parse.py
patch
|
blob
|
history
diff --git
a/src/parse.py
b/src/parse.py
index b7bd22118f3bd20a45251978c7d5f8664b0a28d3..6f4d8c8a8bf052cf6d9b68a266a49664d05e9957 100644
(file)
--- 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: