summaryrefslogtreecommitdiff
path: root/gerbonara/rs274x.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-02-06 13:24:01 +0100
committerjaseg <git@jaseg.de>2022-02-06 13:24:01 +0100
commitd5dcb60b5f7480b83b0d3099917fcae00d7f2710 (patch)
tree201e0eaa1678f86f6a823ff47d7fa1744f94baf1 /gerbonara/rs274x.py
parent344e6792c47c764c63b6902888b9e7492485f678 (diff)
downloadgerbonara-d5dcb60b5f7480b83b0d3099917fcae00d7f2710.tar.gz
gerbonara-d5dcb60b5f7480b83b0d3099917fcae00d7f2710.tar.bz2
gerbonara-d5dcb60b5f7480b83b0d3099917fcae00d7f2710.zip
Remove debug print statements
Diffstat (limited to 'gerbonara/rs274x.py')
-rw-r--r--gerbonara/rs274x.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/gerbonara/rs274x.py b/gerbonara/rs274x.py
index 5c1ecc6..82ee047 100644
--- a/gerbonara/rs274x.py
+++ b/gerbonara/rs274x.py
@@ -631,16 +631,12 @@ class GerberParser:
# multiple statements from one line.
if line.strip() and self.eof_found:
self.warn('Data found in gerber file after EOF.')
- #print(f'Line {lineno}: {line}')
for name, le_regex in self.STATEMENT_REGEXES.items():
if (match := le_regex.match(line)):
- #print(f' match: {name} / {match}')
try:
getattr(self, f'_parse_{name}')(match)
except Exception as e:
- #print(f'Line {lineno}: {line}')
- #print(f' match: {name} / {match}')
raise SyntaxError(f'{filename}:{lineno} "{line}": {e}') from e
line = line[match.end(0):]
break