[meld/Python3: 6/54] patchdialog: Python 3 and GTK 3 porting
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/Python3: 6/54] patchdialog: Python 3 and GTK 3 porting
- Date: Sun, 1 May 2016 22:22:31 +0000 (UTC)
commit de77212d78e44f038642122824fd2393e443a6cf
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Mar 8 07:41:38 2014 +1000
patchdialog: Python 3 and GTK 3 porting
meld/patchdialog.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/meld/patchdialog.py b/meld/patchdialog.py
index 916a45d..15a05ac 100644
--- a/meld/patchdialog.py
+++ b/meld/patchdialog.py
@@ -28,7 +28,6 @@ from .ui import gnomeglade
from meld.conf import _
from meld.misc import error_dialog
from meld.settings import meldsettings
-from .util.compat import text_type
from meld.sourceview import LanguageManager
@@ -84,7 +83,7 @@ class PatchDialog(gnomeglade.Component):
texts = []
for b in self.filediff.textbuffer:
start, end = b.get_bounds()
- text = text_type(b.get_text(start, end, False), 'utf8')
+ text = b.get_text(start, end, False)
lines = text.splitlines(True)
texts.append(lines)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]