Permalink
Browse files

Implement Signature.__deepcopy__. (Issue #1078)

  • Loading branch information...
1 parent 3dc57f1 commit e6a7b60ebea328887150e8d5eade73c4696cae90 @ask ask committed Nov 22, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 celery/canvas.py
View
@@ -185,6 +185,10 @@ def __or__(self, other):
return chain(self, other)
return NotImplemented
+ def __deepcopy__(self, memo):
+ memo[id(self)] = self
+ return dict(self)
+
def __invert__(self):
return self.apply_async().get()

0 comments on commit e6a7b60

Please sign in to comment.