mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
import cleanups
This commit is contained in:
parent
d00c4212a8
commit
58deb54cfc
@ -8,21 +8,22 @@ from __future__ import (
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
from autobahn.twisted.resource import WebSocketResource
|
from autobahn.twisted.resource import WebSocketResource
|
||||||
from autobahn.twisted.websocket import WebSocketServerFactory
|
from autobahn.twisted.websocket import (
|
||||||
from autobahn.twisted.websocket import WebSocketServerProtocol
|
WebSocketServerFactory,
|
||||||
|
WebSocketServerProtocol,
|
||||||
|
)
|
||||||
from autobahn.websocket.types import ConnectionDeny
|
from autobahn.websocket.types import ConnectionDeny
|
||||||
|
|
||||||
from twisted.web import resource, server
|
|
||||||
from twisted.python.failure import Failure
|
|
||||||
|
|
||||||
import eliot
|
import eliot
|
||||||
|
|
||||||
from allmydata.util.hashutil import timing_safe_compare
|
|
||||||
from .common import humanize_failure
|
|
||||||
from twisted.web.resource import (
|
from twisted.web.resource import (
|
||||||
Resource,
|
Resource,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from allmydata.util.hashutil import (
|
||||||
|
timing_safe_compare,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class TokenAuthenticatedWebSocketServerProtocol(WebSocketServerProtocol):
|
class TokenAuthenticatedWebSocketServerProtocol(WebSocketServerProtocol):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user