Pylint warned about the 'b' variable being unused.
I think the patch is a noop, modulo potential side effects that I couldn't see.
It certainly looks much simpler, and better express the intent, if I'm
not mistaken.
--
Vincent Legoll
Index: filediff.py
===================================================================
--- filediff.py (révision 1182)
+++ filediff.py (copie de travail)
@@ -934,8 +934,7 @@
self.set_files(files)
def on_refresh_activate(self, *extra):
- files = [None for b in self.bufferdata[:self.num_panes] ]
- self.set_files(files)
+ self.set_files([None] * self.num_panes)
def queue_draw(self, junk=None):
for i in range(self.num_panes-1):
_______________________________________________
meld-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/meld-list