fixed small indenting bug

--HG--
branch : pmacs2
This commit is contained in:
moculus 2007-10-19 15:17:00 +00:00
parent 437c9bacb2
commit e0b01b542a
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ class PythonTabber(tab2.StackTabber):
def _calc_level(self, y): def _calc_level(self, y):
# ok, so first remember where we are going, and find our starting point # ok, so first remember where we are going, and find our starting point
target = y target = y
y = max(0, y - 1)
while not self.is_base(y) and y > 0: while not self.is_base(y) and y > 0:
y -= 1 y -= 1