diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2014-04-08 18:26:28 -0700 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2014-04-08 18:26:28 -0700 |
commit | 4db287e2fad01133e6474fee8bd6bc9c78bab29b (patch) | |
tree | 3510ff5d124d2dd36852ed6bd8e3d426fb738b5d /redis/_compat.py | |
parent | 0340f1b6609b3222dfc15750f83279899fc0616d (diff) | |
download | redis-py-4db287e2fad01133e6474fee8bd6bc9c78bab29b.tar.gz |
added SLOWLOG support. finally can partially close #170 :)
Diffstat (limited to 'redis/_compat.py')
-rw-r--r-- | redis/_compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/_compat.py b/redis/_compat.py index 38a7316..add9c9b 100644 --- a/redis/_compat.py +++ b/redis/_compat.py @@ -40,7 +40,7 @@ else: nativestr = lambda x: \ x if isinstance(x, str) else x.decode('utf-8', 'replace') u = lambda x: x - b = lambda x: x.encode('iso-8859-1') if not isinstance(x, bytes) else x + b = lambda x: x.encode('latin-1') if not isinstance(x, bytes) else x next = next unichr = chr imap = map |