summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2015-04-24 14:00:35 -0300
committerPaulo Henrique Silva <ph.silva@gmail.com>2015-04-24 14:00:35 -0300
commita518043ae861a7c96042059857c6364fd0780bd5 (patch)
tree404e339e1053a55ae7469de394fda3cab04eef62
parent80cdaf075e97da688e95dc2c5d5f2c3d702fdf5a (diff)
downloadgerbonara-a518043ae861a7c96042059857c6364fd0780bd5.tar.gz
gerbonara-a518043ae861a7c96042059857c6364fd0780bd5.tar.bz2
gerbonara-a518043ae861a7c96042059857c6364fd0780bd5.zip
Fix indentation after PR #26
-rw-r--r--gerber/primitives.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerber/primitives.py b/gerber/primitives.py
index c0a6259..4c027d2 100644
--- a/gerber/primitives.py
+++ b/gerber/primitives.py
@@ -899,8 +899,8 @@ class Drill(Primitive):
def to_metric(self):
if self.units == 'inch':
self.units = 'metric'
- self.position = tuple(map(metric, self.position))
- self.diameter = metric(self.diameter)
+ self.position = tuple(map(metric, self.position))
+ self.diameter = metric(self.diameter)
def offset(self, x_offset=0, y_offset=0):
self.position = tuple(map(add, self.position, (x_offset, y_offset)))