diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2010-03-16 13:32:08 -0700 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2010-03-16 13:32:08 -0700 |
commit | 5723a5468c4c168e798cecd72d21922f9c53d2e8 (patch) | |
tree | f2965ba200135169b9b4d6392fe577fbbf564b59 /redis/client.py | |
parent | dbaef302fb95da2f4d30e5449891fc72eb0942d7 (diff) | |
download | redis-py-5723a5468c4c168e798cecd72d21922f9c53d2e8.tar.gz |
fix for #18 -- i had copy/pasted some code from another function and forgot to actually change it! thanks to Sam (SJD) for the bug report
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py index 006459d..ae04205 100644 --- a/redis/client.py +++ b/redis/client.py @@ -155,7 +155,7 @@ def parse_info(response): def pairs_to_dict(response): "Create a dict given a list of key/value pairs" - return dict(zip(response[::2], map(float, response[1::2]))) + return dict(zip(response[::2], response[1::2])) def zset_score_pairs(response, **options): """ |