mirror of https://github.com/rq/rq.git
Remove dead code.
This commit is contained in:
parent
e05acfedce
commit
791f8169f5
|
@ -154,7 +154,6 @@ class Job(object):
|
||||||
self.result = result
|
self.result = result
|
||||||
self.exc_info = exc_info
|
self.exc_info = exc_info
|
||||||
|
|
||||||
|
|
||||||
def save(self):
|
def save(self):
|
||||||
"""Persists the current job instance to its corresponding Redis key."""
|
"""Persists the current job instance to its corresponding Redis key."""
|
||||||
key = self.key
|
key = self.key
|
||||||
|
@ -211,11 +210,3 @@ class Job(object):
|
||||||
def __hash__(self):
|
def __hash__(self):
|
||||||
return hash(self.id)
|
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)
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue