[meld] Avoid tuple assignment when using patch-based VC API (bgo#698651)



commit b3ef5ed0f40ddfb42c51fcc6be2cd0a785c4d2a2
Author: Timothy Babych <tim babych gmail com>
Date:   Thu Apr 25 13:36:26 2013 +1000

    Avoid tuple assignment when using patch-based VC API (bgo#698651)

 meld/filediff.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 045a2c3..83ea501 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1028,6 +1028,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
            If an element is None, the text of a pane is left as is.
         """
         self._disconnect_buffer_handlers()
+        files = list(files)
         for i, f in enumerate(files):
             if not f:
                 continue


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