[gimp] tools: in performance-log-viewer.py, some cleanup



commit 5a6548a4b6aabf35bc4d985d0fc5876d5fb4255c
Author: Ell <ell_se yahoo com>
Date:   Wed Jan 23 16:27:30 2019 -0500

    tools: in performance-log-viewer.py, some cleanup

 tools/performance-log-viewer.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/tools/performance-log-viewer.py b/tools/performance-log-viewer.py
index aa58625bed..a0f78f2840 100755
--- a/tools/performance-log-viewer.py
+++ b/tools/performance-log-viewer.py
@@ -1694,13 +1694,12 @@ class VariablesViewer (Gtk.ScrolledWindow):
 
             Gtk.ListStore.__init__ (self,
                                     *((str, str, Gdk.RGBA) + n_stats * (str,)))
-            enum.Enum.__init__ (self)
 
             for var, var_def in var_defs.items ():
-                i = self.append (((var,
-                                   var_def.desc,
-                                   Gdk.RGBA (*var_def.color)) +
-                                  n_stats * ("",)))
+                 self.append (((var,
+                                var_def.desc,
+                                Gdk.RGBA (*var_def.color)) +
+                               n_stats * ("",)))
 
     def __init__ (self, *args, **kwargs):
         Gtk.Box.__init__ (self,


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