Skip to content

Commit

Permalink
Adds example working with result trees.
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Jan 31, 2012
1 parent b4a0d10 commit ac49fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celery/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def ready(self):
def get(self, timeout=None, propagate=True, **kwargs):
if self.successful():
return self.result
elif self._state in states.PROPAGATE_STATES:
elif self.state in states.PROPAGATE_STATES:
if propagate:
raise self.result
return self.result
Expand Down

0 comments on commit ac49fad

Please sign in to comment.