Merge pull request #272 from reterVision/master

Remove duplicate function call.
main
Vincent Driessen 11 years ago
commit c81014807a

@ -79,7 +79,6 @@ class Worker(object):
by their Redis keys. by their Redis keys.
""" """
prefix = cls.redis_worker_namespace_prefix prefix = cls.redis_worker_namespace_prefix
name = worker_key[len(prefix):]
if not worker_key.startswith(prefix): if not worker_key.startswith(prefix):
raise ValueError('Not a valid RQ worker key: %s' % (worker_key,)) raise ValueError('Not a valid RQ worker key: %s' % (worker_key,))

Loading…
Cancel
Save