Skip to content

Commit

Permalink
Connect Task state-changed handler upon loading from storage.
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomurri committed May 17, 2018
1 parent 9afcfa1 commit 6733466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gc3libs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ def __getstate__(self):
def __setstate__(self, state):
self.__dict__ = state
self.detach()
TaskStateChange.connect(self._on_state_change, sender=self)

# grid-level actions on this Task object are re-routed to the
# grid/engine/core instance
Expand Down

0 comments on commit 6733466

Please sign in to comment.