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
|
return obj
|
||||||
|
|
||||||
class Session():
|
class Session():
|
||||||
RE_SPLIT = re.compile(r'\s+')
|
NNTP_VERSION = 2
|
||||||
|
|
||||||
NNTP_VERSION = 2
|
|
||||||
|
|
||||||
NNTP_CAPABILITIES = [
|
NNTP_CAPABILITIES = [
|
||||||
'VERSION %d' % (NNTP_VERSION),
|
'VERSION %d' % (NNTP_VERSION),
|
||||||
'READER',
|
'READER',
|
||||||
|
@ -96,6 +93,8 @@ class Session():
|
||||||
'OVER MSGID'
|
'OVER MSGID'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
RE_SPLIT = re.compile(r'\s+')
|
||||||
|
|
||||||
def __init__(self, server: Server, sock: socket.socket):
|
def __init__(self, server: Server, sock: socket.socket):
|
||||||
self.server: Server = server
|
self.server: Server = server
|
||||||
self.db: Database = server.db
|
self.db: Database = server.db
|
||||||
|
|
Loading…
Add table
Reference in a new issue