[PATCH] undefined variable in dirdiff.py ?
- From: Vincent Legoll <vincent legoll gmail com>
- To: meld-list gnome org
- Subject: [PATCH] undefined variable in dirdiff.py ?
- Date: Sun, 15 Feb 2009 13:24:00 +0100
The k variable seems undefined at that place, maybe key was intended here ?
--
Vincent Legoll
Index: dirdiff.py
===================================================================
--- dirdiff.py (révision 1153)
+++ dirdiff.py (copie de travail)
@@ -437,7 +437,7 @@
def first_nonempty(seq):
for s in seq:
if s: return s
- return tuple([ t or first_nonempty(tuples) or k for t in tuples ])
+ return tuple([ t or first_nonempty(tuples) or key for t in tuples ])
return [ fixup(k, self.items[k]) for k in keys ]
accumdirs = accum(self, roots)
accumfiles = accum(self, roots)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]