summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2013-04-22 14:36:54 -0700
committerAndy McCurdy <andy@andymccurdy.com>2013-04-22 14:36:54 -0700
commit441ac15a3f8c2968ae7de0990703ee44c7d24f09 (patch)
treee5f71e2949d269019c6e09f7ee9fdcf92d2e4227 /redis/client.py
parentcd3ccbaacd7733f135d1d8ef3ed8b45110d00268 (diff)
parent12f2e4fcd8153fb4ea9dc00ac79385b1059fb47a (diff)
downloadredis-py-441ac15a3f8c2968ae7de0990703ee44c7d24f09.tar.gz
Merge pull request #327 from pabelanger/pep8
Format code per pep8 guidelines
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 9f2e8b1..0369d30 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,
@@ -1376,6 +1377,7 @@ class StrictRedis(object):
"""
return Script(self, script)
+
class Redis(StrictRedis):
"""
Provides backwards compatibility with older versions of redis-py that