summaryrefslogtreecommitdiff
path: root/gerber/excellon.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2014-10-06 23:52:57 -0400
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2014-10-06 23:52:57 -0400
commit2abb7159be80beb0565d35e856f3279d2f1f693b (patch)
tree92116e6eea02e40cc68215c13e837b610cc97644 /gerber/excellon.py
parent22a6f87e94c1192b277a1353aefc7c0316f41f90 (diff)
downloadgerbonara-2abb7159be80beb0565d35e856f3279d2f1f693b.tar.gz
gerbonara-2abb7159be80beb0565d35e856f3279d2f1f693b.tar.bz2
gerbonara-2abb7159be80beb0565d35e856f3279d2f1f693b.zip
add tests
Diffstat (limited to 'gerber/excellon.py')
-rwxr-xr-xgerber/excellon.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gerber/excellon.py b/gerber/excellon.py
index 072bc31..9a5ef22 100755
--- a/gerber/excellon.py
+++ b/gerber/excellon.py
@@ -163,7 +163,7 @@ class ExcellonParser(object):
self.active_tool = self.tools[stmt.tool]
#self.active_tool = self.tools[int(line.strip().split('T')[1])]
self.statements.append(stmt)
-
+
elif line[0] in ['X', 'Y']:
stmt = CoordinateStmt.from_excellon(line, fmt, zs)
x = stmt.x
@@ -194,7 +194,6 @@ class ExcellonParser(object):
if self.ctx is not None:
self.ctx.drill(self.pos[0], self.pos[1],
self.active_tool.diameter)
-
else:
self.statements.append(UnknownStmt.from_excellon(line))