Fix indentation after PR #26

refactor
Paulo Henrique Silva 2015-04-24 14:00:35 -03:00
rodzic 80cdaf075e
commit a518043ae8
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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)))