diff options
author | andy <andy@andymccurdy.com> | 2011-08-01 11:51:47 -0700 |
---|---|---|
committer | andy <andy@andymccurdy.com> | 2011-08-01 11:51:47 -0700 |
commit | 2b9a413fc9b8b644aeeb7599b2f579b01a09589b (patch) | |
tree | 4d6c284a7686915b5529e2f97b0ffe25c41c6675 /redis/client.py | |
parent | e2b66fdf209eb751c161eb06cc05683518df763f (diff) | |
parent | d80d3d241bf9fb6fa4201040352a450d55491fe8 (diff) | |
download | redis-py-2b9a413fc9b8b644aeeb7599b2f579b01a09589b.tar.gz |
Merge branch 'master' of github.com:andymccurdy/redis-py
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/redis/client.py b/redis/client.py index 08b166f..979c147 100644 --- a/redis/client.py +++ b/redis/client.py @@ -1118,9 +1118,7 @@ class Redis(StrictRedis): if len(args) % 2 != 0: raise RedisError("ZADD requires an equal number of " "values and scores") - temp_args = args - temp_args.reverse() - pieces.extend(temp_args) + pieces.extend(reversed(args)) for pair in kwargs.iteritems(): pieces.append(pair[1]) pieces.append(pair[0]) |