From 791f8169f57eada94bf27f02751f59bad99ad64c Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Fri, 10 Feb 2012 17:52:05 +0100 Subject: [PATCH] Remove dead code. --- rq/job.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/rq/job.py b/rq/job.py index 9563e1c9..386e5946 100644 --- a/rq/job.py +++ b/rq/job.py @@ -154,7 +154,6 @@ class Job(object): self.result = result self.exc_info = exc_info - def save(self): """Persists the current job instance to its corresponding Redis key.""" key = self.key @@ -211,11 +210,3 @@ class Job(object): def __hash__(self): return hash(self.id) - - # TODO: TO REFACTOR / REMOVE - def pickle(self): - """Returns the pickle'd string represenation of a Job. Suitable for - writing to Redis. - """ - return dumps(self) -