Browse Source

PEP8 cleanup

pull/30/head
Ean J. Price 4 years ago
parent
commit
ea13b60248
  1. 3
      muk_session_store/store/redis.py

3
muk_session_store/store/redis.py

@ -38,6 +38,7 @@ except ImportError:
SESSION_TIMEOUT = 60 * 60 * 24 * 7
def retry_redis(func):
@functools.wraps(func)
def wrapper(self, *args, **kwargs):
@ -48,8 +49,10 @@ def retry_redis(func):
_logger.warn("SessionStore connection failed! (%s/5)" % attempts)
if attempts >= 5:
raise error
return wrapper
class RedisSessionStore(SessionStore):
def __init__(self, *args, **kwargs):

Loading…
Cancel
Save