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
|
# Module maybe loaded for the 1st time so we need to set the date
|
||||||
self._update_dates(name, fromlist)
|
self._update_dates(name, fromlist)
|
||||||
return result
|
return result
|
||||||
except Exception, e:
|
except Exception:
|
||||||
raise e # Don't hide something that went wrong
|
raise # Don't hide something that went wrong
|
||||||
finally:
|
finally:
|
||||||
if call_begin_end:
|
if call_begin_end:
|
||||||
self.end()
|
self.end()
|
||||||
|
|||||||
Reference in New Issue
Block a user