From 20e908039f5648f9a051b64ef00150c5482445be Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Wed, 1 Feb 2012 07:33:41 +0100 Subject: [PATCH] Initially set the exc_info property, so it does not raise an AttributeException when accessed. --- rq/job.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rq/job.py b/rq/job.py index 36831d5..0ae5bb1 100644 --- a/rq/job.py +++ b/rq/job.py @@ -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."""