import cleanups

This commit is contained in:
Jean-Paul Calderone 2019-03-21 15:01:25 -04:00
parent d00c4212a8
commit 58deb54cfc

View File

@ -8,21 +8,22 @@ from __future__ import (
import json
from autobahn.twisted.resource import WebSocketResource
from autobahn.twisted.websocket import WebSocketServerFactory
from autobahn.twisted.websocket import WebSocketServerProtocol
from autobahn.twisted.websocket import (
WebSocketServerFactory,
WebSocketServerProtocol,
)
from autobahn.websocket.types import ConnectionDeny
from twisted.web import resource, server
from twisted.python.failure import Failure
import eliot
from allmydata.util.hashutil import timing_safe_compare
from .common import humanize_failure
from twisted.web.resource import (
Resource,
)
from allmydata.util.hashutil import (
timing_safe_compare,
)
class TokenAuthenticatedWebSocketServerProtocol(WebSocketServerProtocol):
"""