[meld/Python3: 5/54] meldapp: Python 3 import fixes
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/Python3: 5/54] meldapp: Python 3 import fixes
- Date: Sun, 1 May 2016 22:22:26 +0000 (UTC)
commit a390838de0e7fe85b81d9052ad35e5adb26c60cc
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Mar 8 07:41:03 2014 +1000
meldapp: Python 3 import fixes
meld/meldapp.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meld/meldapp.py b/meld/meldapp.py
index b0e5308..cc1dcf0 100644
--- a/meld/meldapp.py
+++ b/meld/meldapp.py
@@ -16,10 +16,10 @@
from __future__ import print_function
+import io
import logging
import optparse
import os
-import StringIO
from gi.repository import Gio
from gi.repository import GLib
@@ -196,7 +196,7 @@ class MeldApp(Gtk.Application):
def __init__(self, command_line, *args, **kwargs):
self.command_line = command_line
self.should_exit = False
- self.output = StringIO.StringIO()
+ self.output = io.StringIO()
self.exit_status = 0
optparse.OptionParser.__init__(self, *args, **kwargs)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]