Cleaned up the pep8
This commit is contained in:
parent
58230504c5
commit
0639d43ddc
7 changed files with 13 additions and 18 deletions
|
|
@ -859,8 +859,8 @@ class ServerSessionHandler(SessionHandler):
|
|||
|
||||
|
||||
# import class from settings
|
||||
_session_handler_class = class_from_module(settings.SERVER_SESSION_HANDLER_CLASS)
|
||||
_SESSION_HANDLER_CLASS = class_from_module(settings.SERVER_SESSION_HANDLER_CLASS)
|
||||
|
||||
# Instantiate class. These globals are used to provide singleton-like behavior.
|
||||
SESSION_HANDLER = _session_handler_class()
|
||||
SESSION_HANDLER = _SESSION_HANDLER_CLASS()
|
||||
SESSIONS = SESSION_HANDLER # legacy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue