[meld] PEP8 fixes for diffmap



commit 9170ab2ce050486947c47626487835792f1de1fb
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Mon Mar 4 07:24:27 2013 +1000

    PEP8 fixes for diffmap

 meld/diffmap.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/meld/diffmap.py b/meld/diffmap.py
index 7d3d987..d6027a4 100644
--- a/meld/diffmap.py
+++ b/meld/diffmap.py
@@ -57,7 +57,7 @@ class DiffMap(gtk.DrawingArea):
         scroll_size_hid = scrollbar.connect("size-allocate",
                                             self.on_scrollbar_size_allocate)
         adj_change_hid = self._scrolladj.connect("changed",
-                                                  lambda w: self.queue_draw())
+                                                 lambda w: self.queue_draw())
         adj_val_hid = self._scrolladj.connect("value-changed",
                                               lambda w: self.queue_draw())
         self._handlers = [(scrollbar, scroll_style_hid),
@@ -164,7 +164,3 @@ gtk.widget_class_install_style_property(DiffMap,
                                          'right edges and change blocks',
                                          0.0, gobject.G_MAXFLOAT, 3.5,
                                          gobject.PARAM_READABLE))
-
-
-def create_diffmap(str1, str2, int1, int2):
-    return DiffMap()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]