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/utils.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 '')
-rw-r--r-- | portato/gui/utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/portato/gui/utils.py b/portato/gui/utils.py index ce5971e..07db45c 100644 --- a/portato/gui/utils.py +++ b/portato/gui/utils.py @@ -10,8 +10,6 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> -from __future__ import absolute_import, with_statement - # some stuff needed import sys import logging @@ -45,7 +43,7 @@ class GtkThread (Thread): try: sys.excepthook(type, val, tb, thread = self.getName()) except TypeError: - raise type, val, tb # let normal thread handle it + raise type(val).with_traceback(tb) # let normal thread handle it finally: del type, val, tb |