Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fix missing import and run isort
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Jul 20, 2018
1 parent 2669e49 commit 4ff8486
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions synapse/handlers/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)


Expand Down
3 changes: 2 additions & 1 deletion synapse/rest/client/v2_alpha/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion synapse/rest/client/v2_alpha/user_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4ff8486

Please sign in to comment.