summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index 8db2b0e..33e4aaf 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -216,7 +216,8 @@ class StrictRedis(object):
string_keys_to_dict('ZRANK ZREVRANK', int_or_none),
{
'BGREWRITEAOF': (
- lambda r: nativestr(r) == 'Background rewriting of AOF file started'
+ lambda r: nativestr(r) == ('Background rewriting of AOF '
+ 'file started')
),
'BGSAVE': lambda r: nativestr(r) == 'Background saving started',
'CLIENT': parse_client,
@@ -1363,6 +1364,7 @@ class StrictRedis(object):
"""
return Script(self, script)
+
class Redis(StrictRedis):
"""
Provides backwards compatibility with older versions of redis-py that