Fix pipeline call.

main
Vincent Driessen 11 years ago
parent 76e2470c67
commit fdf4abcf69

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

Loading…
Cancel
Save