summaryrefslogtreecommitdiff
path: root/host/inter/path.py
diff options
context:
space:
mode:
authorNicolas Schodet2009-02-09 20:05:30 +0100
committerNicolas Schodet2009-02-09 20:05:30 +0100
commit2e95e3a33bcb34aeec66551503c692c1cb80ab61 (patch)
tree6b763ee0d1bf458da0ced13f44535b42f3b8efb8 /host/inter/path.py
parent552b28da98a387d13aea7403a7e72732a913277d (diff)
* all python:
- changed tabs to spaces.
Diffstat (limited to 'host/inter/path.py')
-rw-r--r--host/inter/path.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/host/inter/path.py b/host/inter/path.py
index 76db970a..eb5744eb 100644
--- a/host/inter/path.py
+++ b/host/inter/path.py
@@ -32,11 +32,11 @@ class Path (Drawable):
"""Computed path drawing."""
def __init__ (self, onto):
- Drawable.__init__ (self, onto)
- self.path = [ ]
+ Drawable.__init__ (self, onto)
+ self.path = [ ]
def draw (self):
- self.reset ()
- if len (self.path) > 2:
- fmt = dict (fill = 'green', arrow = LAST)
- self.draw_line (*self.path, **fmt)
+ self.reset ()
+ if len (self.path) > 2:
+ fmt = dict (fill = 'green', arrow = LAST)
+ self.draw_line (*self.path, **fmt)