From bf4b224fcfe4870b056a6fa903170f5e0bf77869 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 23 Sep 2014 18:43:18 +0100 Subject: Fix a few pyflakes errors in the server_key_resource --- synapse/http/server_key_resource.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'synapse/http') diff --git a/synapse/http/server_key_resource.py b/synapse/http/server_key_resource.py index 8022f9a5ae..b30ecead27 100644 --- a/synapse/http/server_key_resource.py +++ b/synapse/http/server_key_resource.py @@ -15,15 +15,11 @@ from twisted.web.resource import Resource -from twisted.web.server import NOT_DONE_YET -from twisted.internet import defer from synapse.http.server import respond_with_json_bytes -from synapse.crypto.keyclient import fetch_server_key from syutil.crypto.jsonsign import sign_json -from syutil.base64util import encode_base64, decode_base64 +from syutil.base64util import encode_base64 from syutil.jsonutil import encode_canonical_json from OpenSSL import crypto -from nacl.signing import VerifyKey import logging -- cgit 1.4.1