sebastien - flumotion/trunk/flumotion/component

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Tue Jan 23 17:17:08 CET 2007


Author: sebastien
Date: Tue Jan 23 17:17:07 2007
New Revision: 4431

Modified:
   flumotion/trunk/flumotion/component/component.py
Log:
Forgot what Andy ask me... now corrected
Return the failure insteed of raising the old exception
in setupErrback

Modified: flumotion/trunk/flumotion/component/component.py
==============================================================================
--- flumotion/trunk/flumotion/component/component.py	(original)
+++ flumotion/trunk/flumotion/component/component.py	Tue Jan 23 17:17:07 2007
@@ -483,7 +483,7 @@
         d.addCallback(lambda r: self.do_setup())
         def setupErrback(failure):
             if failure.check(errors.ComponentSetupHandledError):
-                failure.raiseException()
+                return failure
             else:
                 self.warning('Could not set up component: %s',
                          log.getFailureMessage(failure))


More information about the flumotion-commit mailing list