From d5dcb60b5f7480b83b0d3099917fcae00d7f2710 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 6 Feb 2022 13:24:01 +0100 Subject: Remove debug print statements --- gerbonara/rs274x.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gerbonara/rs274x.py') 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 -- cgit