preserve exception in custom_import, thanks Mike Amy
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 1.99.7 (2012-05-06 17:27:23) dev
|
||||
Version 1.99.7 (2012-05-06 17:29:21) dev
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user