add newline before constructor in classes

pep8
This commit is contained in:
slice 2018-06-19 17:55:12 -07:00
parent 0853a9fce6
commit 75c79a6503
No known key found for this signature in database
GPG Key ID: 1508C19D7436A26D
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ class GatewayState:
Used to store all information tied to the websocket's session. Used to store all information tied to the websocket's session.
""" """
def __init__(self, **kwargs): def __init__(self, **kwargs):
self.session_id = kwargs.get('session_id', gen_session_id()) self.session_id = kwargs.get('session_id', gen_session_id())
self.seq = kwargs.get('seq', 0) self.seq = kwargs.get('seq', 0)

View File

@ -36,6 +36,7 @@ def decode_etf(data):
class GatewayWebsocket: class GatewayWebsocket:
"""Main gateway websocket logic.""" """Main gateway websocket logic."""
def __init__(self, sm, db, ws, **kwargs): def __init__(self, sm, db, ws, **kwargs):
self.state_manager = sm self.state_manager = sm
self.db = db self.db = db