Merge pull request #499 from vladkens/issue/498

ZADD bugfix
This commit is contained in:
Vincent Driessen 2015-03-08 11:39:23 +01:00
commit 5990fa9d73
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class Queue(object):
if depends_on is not None:
if not isinstance(depends_on, self.job_class):
depends_on = Job(id=depends_on, connection=self.connection)
with self.connection.pipeline() as pipe:
with self.connection._pipeline() as pipe:
while True:
try:
pipe.watch(depends_on.key)