summaryrefslogtreecommitdiff
path: root/portato/gui/utils.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/gui/utils.py4
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
ns'>-2/+2 2012-08-31Use basename in usage.Jason A. Donenfeld1-2/+1 2012-08-19now using gpg_id as a varMatthew Ramirez1-2/+2 2012-08-07Forty five seconds.Jason A. Donenfeld1-1/+1 2012-08-06Deal with klipper and new lines.Jason A. Donenfeld1-3/+19 2012-08-06Update examples.Jason A. Donenfeld1-7/+7 2012-08-06Update readme.Jason A. Donenfeld1-11/+13 2012-08-06Be slicker and more like git.Jason A. Donenfeld1-114/+173