From 081d20d0cfa9104e453cc4a547943a4d2543d033 Mon Sep 17 00:00:00 2001 From: David Halter Date: Wed, 5 Sep 2012 16:19:00 +0200 Subject: [PATCH] fixed py3k exception --- modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.py b/modules.py index 3f64ff03..d84984ad 100644 --- a/modules.py +++ b/modules.py @@ -134,7 +134,7 @@ class ModuleWithCursor(Module): def get_context(self): pos = self._start_cursor_pos - while pos > 0: + while pos > (0, 0): yield self._get_path_until_cursor(start_pos=pos) pos = self._line_temp, self._column_temp