summaryrefslogtreecommitdiff
path: root/astroid/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/util.py')
-rw-r--r--astroid/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/util.py b/astroid/util.py
index cce30056..01dcd50c 100644
--- a/astroid/util.py
+++ b/astroid/util.py
@@ -27,6 +27,7 @@ def lazy_import(module_name):
def reraise(exception):
'''Reraises an exception with the traceback from the current exception
block.'''
+
six.reraise(type(exception), exception, sys.exc_info()[2])