Fixed issue 1954, re-raising exceptions the right way, thanks Marton

This commit is contained in:
mdipierro
2014-08-07 23:33:34 -05:00
parent 309a7c39ca
commit a858f811a1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.9.5-trunk+timestamp.2014.08.06.14.51.23
Version 2.9.5-trunk+timestamp.2014.08.07.23.32.34
+1 -1
View File
@@ -97,7 +97,7 @@ def custom_importer(name, globals=None, locals=None, fromlist=None, level=-1):
except ImportError, e3:
raise ImportError, e1, import_tb # there an import error in the module
except Exception, e2:
raise e2 # there is an error in the module
raise # there is an error in the module
finally:
if import_tb:
import_tb = None