summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2014-10-26 22:25:26 -0200
committerPaulo Henrique Silva <ph.silva@gmail.com>2014-10-26 22:25:26 -0200
commit459e0205d17724b35f0f869cd46f679bc70defce (patch)
tree5da18489f777f96e221c1ea429ebf4bd89f8a7f2
parent777ffd385b4b380df0ffebf33b1dee0b99bde53d (diff)
downloadgerbonara-459e0205d17724b35f0f869cd46f679bc70defce.tar.gz
gerbonara-459e0205d17724b35f0f869cd46f679bc70defce.tar.bz2
gerbonara-459e0205d17724b35f0f869cd46f679bc70defce.zip
Fix ValueError, missing self.
-rw-r--r--gerber/gerber_statements.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/gerber_statements.py b/gerber/gerber_statements.py
index e392ec5..32d3784 100644
--- a/gerber/gerber_statements.py
+++ b/gerber/gerber_statements.py
@@ -394,7 +394,7 @@ class AMParamStmt(ParamStmt):
return '%AM{0}*{1}*%'.format(self.name, self.macro)
def __str__(self):
- return '<Aperture Macro %s: %s>' % (self.name, macro)
+ return '<Aperture Macro %s: %s>' % (self.name, self.macro)
class INParamStmt(ParamStmt):