Initially set the exc_info property, so it does not raise an

AttributeException when accessed.
main
Vincent Driessen 13 years ago
parent fdce187c27
commit 20e908039f

@ -25,6 +25,7 @@ class Job(object):
self.origin = None
self.created_at = datetime.utcnow()
self.enqueued_at = None
self.exc_info = None
def pickle(self):
"""Returns the pickle'd string represenation of a Job. Suitable for writing to Redis."""

Loading…
Cancel
Save