From 3910a07cb43f270f32ebb41397a5c3513f92491f Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Wed, 18 Apr 2012 17:26:36 +0000 Subject: Pep8 fixes in Area.py --- (limited to 'Area.py') diff --git a/Area.py b/Area.py index 150d359..24f02d4 100644 --- a/Area.py +++ b/Area.py @@ -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) -- cgit v0.9.1