diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-04-18 17:26:36 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-04-18 17:26:36 (GMT) |
commit | 3910a07cb43f270f32ebb41397a5c3513f92491f (patch) | |
tree | 218660349b8f6dc8487eae32286a0959a9f61e35 /Area.py | |
parent | 97865a5eb68879819327998edbb71bc1328e1f1e (diff) |
Pep8 fixes in Area.py
Diffstat (limited to 'Area.py')
-rw-r--r-- | Area.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -822,7 +822,7 @@ class Area(gtk.DrawingArea): if self.selmove: self.getout() - if self._undo_index < len(self._undo_list)-1: + if self._undo_index < len(self._undo_list) - 1: self._undo_index += 1 undo_pix = self._undo_list[self._undo_index] @@ -1120,7 +1120,6 @@ class Area(gtk.DrawingArea): self.enableUndo(widget) self.set_tool_cursor() - def drain_events(self, block=gtk.FALSE): while gtk.events_pending(): gtk.mainiteration(block) |