[meld/Python3: 7/54] filediff: Minor Python 3 unicode fixups



commit 6341fc56eed24083aa5a02f2af8f02b959874a8e
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Mar 8 07:42:05 2014 +1000

    filediff: Minor Python 3 unicode fixups

 meld/filediff.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 357fb8d..d9a1dfd 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1019,7 +1019,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
         if label:
             self.label_text = label
         else:
-            self.label_text = (" — ").decode('utf8').join(shortnames)
+            self.label_text = " — ".join(shortnames)
         self.tooltip_text = self.label_text
         self.label_changed()
 


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