preserve exception in custom_import, thanks Mike Amy

This commit is contained in:
Massimo Di Pierro
2012-05-06 17:29:58 -05:00
parent 95e91329a2
commit d79a3d8705
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.7 (2012-05-06 17:27:23) dev
Version 1.99.7 (2012-05-06 17:29:21) dev
+2 -2
View File
@@ -128,8 +128,8 @@ class _DateTrackerImporter(_BaseImporter):
# Module maybe loaded for the 1st time so we need to set the date
self._update_dates(name, fromlist)
return result
except Exception, e:
raise e # Don't hide something that went wrong
except Exception:
raise # Don't hide something that went wrong
finally:
if call_begin_end:
self.end()