summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorandy <andy@whiskeymedia.com>2012-08-23 21:29:35 -0700
committerandy <andy@whiskeymedia.com>2012-08-23 21:29:35 -0700
commitdb5e48200e724ed9d9ce7734d8041c22551f4ab2 (patch)
treeb5529ee7afd38112ad2726e03a3225e34a114b14 /redis/client.py
parentc9da5fa6cca93f1187ef860c3ec7cdfc9774ca49 (diff)
downloadredis-py-db5e48200e724ed9d9ce7734d8041c22551f4ab2.tar.gz
pass the script object, not the lua string
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index 152c75c..5c8cc19 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -1766,7 +1766,7 @@ class Script(object):
# make sure the Redis server knows about the script
if isinstance(client, BasePipeline):
# make sure this script is good to go on pipeline
- client.script_load_for_pipeline(self.script)
+ client.script_load_for_pipeline(self)
try:
return client.evalsha(self.sha, len(keys), *args)
except NoScriptError: