fix missing import and run isort

This commit is contained in:
Matthew Hodgson 2018-07-20 11:29:18 +01:00
parent 2669e494e0
commit 4ff8486f0f
3 changed files with 7 additions and 5 deletions

View file

@ -16,16 +16,16 @@
import logging
from signedjson.sign import sign_json
from twisted.internet import defer, reactor
from synapse.api.errors import AuthError, CodeMessageException, SynapseError
from synapse.util.logcontext import run_in_background
from synapse.types import UserID, get_domain_from_id
from synapse.util.logcontext import run_in_background
from ._base import BaseHandler
from signedjson.sign import sign_json
logger = logging.getLogger(__name__)

View file

@ -15,9 +15,10 @@
# limitations under the License.
import hmac
import re
import logging
import re
from hashlib import sha1
from string import capwords
from six import string_types

View file

@ -15,9 +15,10 @@
import logging
from twisted.internet import defer
from signedjson.sign import sign_json
from twisted.internet import defer
from synapse.api.errors import SynapseError
from synapse.http.servlet import RestServlet, parse_json_object_from_request