[meld] Avoid tuple assignment when using patch-based VC API (bgo#698651)
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Avoid tuple assignment when using patch-based VC API (bgo#698651)
- Date: Thu, 25 Apr 2013 03:37:31 +0000 (UTC)
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]