summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2010-03-16 13:32:08 -0700
committerAndy McCurdy <andy@andymccurdy.com>2010-03-16 13:32:08 -0700
commit5723a5468c4c168e798cecd72d21922f9c53d2e8 (patch)
treef2965ba200135169b9b4d6392fe577fbbf564b59 /redis/client.py
parentdbaef302fb95da2f4d30e5449891fc72eb0942d7 (diff)
downloadredis-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.py2
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):
"""