running libfuturize.fixes.fix_raise

This commit is contained in:
ilvalle
2016-05-30 18:03:48 +02:00
parent d74413bc16
commit 36ca754c77
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ def custom_importer(name, globals=None, locals=None, fromlist=None, level=-1):
try:
result = result or sys.modules[modules_prefix+'.'+itemname]
except KeyError as e:
raise ImportError, 'Cannot import module %s' % str(e)
raise ImportError('Cannot import module %s' % str(e))
modules_prefix += "." + itemname
return result
else: