Fix pipeline call.

This commit is contained in:
Vincent Driessen 2014-04-14 11:24:55 +02:00
parent 76e2470c67
commit fdf4abcf69
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ class Job(object):
cancellation. Technically, this call is (currently) the same as just
deleting the job hash.
"""
pipeline = self.connection.pipeline()
pipeline = self.connection._pipeline()
self.delete(pipeline=pipeline)
pipeline.delete(self.dependents_key)
pipeline.execute()