summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorJason Knight <Jason@JasonKnight.us>2012-08-15 22:29:12 -0500
committerJason Knight <Jason@JasonKnight.us>2012-08-15 22:29:12 -0500
commite417cb6bf5e268e7c13f44eae57cc0b2407c7cc0 (patch)
tree4322caeb7ecb58b8a8525b082cb1a9f948676a9b /redis/client.py
parent5b793a5950425b887cf7d81110c12ffe28c758b7 (diff)
downloadredis-py-e417cb6bf5e268e7c13f44eae57cc0b2407c7cc0.tar.gz
Added TIME response callback
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py
index 5372681..74a040a 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -204,6 +204,7 @@ class StrictRedis(object):
'OBJECT': parse_object,
'PING': lambda r: nativestr(r) == 'PONG',
'RANDOMKEY': lambda r: r and r or None,
+ 'TIME': lambda x: (int(x[0]), int(x[1]))
}
)