diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-11 01:39:31 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-11 01:39:31 +0200 |
commit | d9a7cd1da64da57bea05e5b234b9d9c6fea7f911 (patch) | |
tree | 65955560af923d5fc5a6517f8362903f840d13ee /portato/gui/exception_handling.py | |
parent | 3c52ca58438e77d791a5cd5a2e3e0427445e93c2 (diff) | |
download | portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.tar.gz portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.tar.bz2 portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.zip |
applied 2to3 and fixed the result
Diffstat (limited to 'portato/gui/exception_handling.py')
-rw-r--r-- | portato/gui/exception_handling.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/gui/exception_handling.py b/portato/gui/exception_handling.py index d9b133c..10b36fc 100644 --- a/portato/gui/exception_handling.py +++ b/portato/gui/exception_handling.py @@ -11,12 +11,12 @@ # # Written by René 'Necoro' Neumann -from __future__ import absolute_import, with_statement +from future_builtins import map, filter, zip import gtk, pango, gobject import sys, traceback -from StringIO import StringIO +from cStringIO import StringIO from ..helper import debug, error, get_runsystem from .dialogs import file_chooser_dialog, io_ex_dialog @@ -78,7 +78,7 @@ class UncaughtExceptionDialog(gtk.MessageDialog): try: with open(file, "w") as f: f.writelines(self.text) - except IOError, e: + except IOError as e: io_ex_dialog(e) else: |