Tidiness :3
This commit is contained in:
parent
d2f87b4234
commit
2df4350cd0
1 changed files with 3 additions and 4 deletions
|
@ -83,10 +83,7 @@ class MessageRange():
|
|||
return obj
|
||||
|
||||
class Session():
|
||||
RE_SPLIT = re.compile(r'\s+')
|
||||
|
||||
NNTP_VERSION = 2
|
||||
|
||||
NNTP_CAPABILITIES = [
|
||||
'VERSION %d' % (NNTP_VERSION),
|
||||
'READER',
|
||||
|
@ -96,6 +93,8 @@ class Session():
|
|||
'OVER MSGID'
|
||||
]
|
||||
|
||||
RE_SPLIT = re.compile(r'\s+')
|
||||
|
||||
def __init__(self, server: Server, sock: socket.socket):
|
||||
self.server: Server = server
|
||||
self.db: Database = server.db
|
||||
|
|
Loading…
Add table
Reference in a new issue