Marcin Kasperski committed 0e4220d

Proper initialization order

  • Participants
  • Parent commits ccc99b0

Comments (0)

Files changed (1)


     def __init__(self, deferredList):
+        self.managed_deferreds = deferredList[:]
             self, deferredList,
             fireOnOneCallback=False, # of course
             fireOnOneErrback=False,  # all will be finished or cancelled and we wait for all of them
             consumeErrors=True,     # otherwise we get all those „Unhandled error in Deferred” errors for cancels etc.
-        self.managed_deferreds = deferredList[:]
     def _cbDeferred(self, result, index, succeeded):
         if not succeeded: