summaryrefslogtreecommitdiff
path: root/src/model_generation.py
diff options
context:
space:
mode:
authorrahulp132020-02-11 00:20:41 +0530
committerrahulp132020-02-11 00:20:41 +0530
commit4245ac1c7a4ef6a4e650ab666327210f2c812e3e (patch)
tree48a3b78ecf0a80f036a265a61242eff5a75ab061 /src/model_generation.py
parent28bdf8d26cc422e27a52f33155555db877d07c6e (diff)
downloadnghdl-4245ac1c7a4ef6a4e650ab666327210f2c812e3e.tar.gz
nghdl-4245ac1c7a4ef6a4e650ab666327210f2c812e3e.tar.bz2
nghdl-4245ac1c7a4ef6a4e650ab666327210f2c812e3e.zip
pep8 compliant
Diffstat (limited to 'src/model_generation.py')
-rw-r--r--src/model_generation.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/model_generation.py b/src/model_generation.py
index c295ba4..445143b 100644
--- a/src/model_generation.py
+++ b/src/model_generation.py
@@ -104,10 +104,12 @@ for line in data:
if re.match(r'^\s*$', line):
pass
else:
- in_items = re.findall("IN", line,
- re.MULTILINE | re.IGNORECASE)
- out_items = re.findall("OUT", line,
- re.MULTILINE | re.IGNORECASE)
+ in_items = re.findall(
+ "IN", line, re.MULTILINE | re.IGNORECASE
+ )
+ out_items = re.findall(
+ "OUT", line, re.MULTILINE | re.IGNORECASE
+ )
if in_items:
input_list.append(line.split())
else: