Remove duplicate function call.

main
reterVision 11 years ago
parent e4589a4641
commit c27cb5217c

@ -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