summaryrefslogtreecommitdiff
path: root/astroid/util.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-05-27 14:27:29 +0800
committerClaudiu Popa <pcmanticore@gmail.com>2018-05-31 12:56:28 +0800
commit329deed20f8f8d65288ff7ae01b12e69c66f08c7 (patch)
treec9c0b0f95b4495a626e86e49ec624d87abe7023c /astroid/util.py
parentd172ace65755d9b1ad232791a461c1a811eb8698 (diff)
downloadastroid-git-329deed20f8f8d65288ff7ae01b12e69c66f08c7.tar.gz
Remove six from a couple of files
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])