Remove unused imports

This commit is contained in:
Erik Johnston 2014-11-04 14:14:02 +00:00
parent 68698e0ac8
commit aa76bf39ab
5 changed files with 2 additions and 13 deletions

View File

@ -21,8 +21,6 @@ These actions are mostly only used by the :py:mod:`.replication` module.
from twisted.internet import defer from twisted.internet import defer
from .units import Pdu
from synapse.util.logutils import log_function from synapse.util.logutils import log_function
import json import json

View File

@ -18,11 +18,8 @@ server protocol.
""" """
from synapse.util.jsonobject import JsonEncodedObject from synapse.util.jsonobject import JsonEncodedObject
from syutil.base64util import encode_base64
import logging import logging
import json
import copy
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@ -17,15 +17,13 @@
from ._base import BaseHandler from ._base import BaseHandler
from synapse.api.events.room import InviteJoinEvent, RoomMemberEvent from synapse.api.events.room import RoomMemberEvent
from synapse.api.constants import Membership from synapse.api.constants import Membership
from synapse.util.logutils import log_function from synapse.util.logutils import log_function
from synapse.federation.pdu_codec import PduCodec from synapse.federation.pdu_codec import PduCodec
from synapse.api.errors import SynapseError
from synapse.util.async import run_on_reactor from synapse.util.async import run_on_reactor
from synapse.types import EventID
from twisted.internet import defer, reactor from twisted.internet import defer
import logging import logging

View File

@ -19,8 +19,6 @@ from twisted.internet import defer
from synapse.util.logutils import log_function from synapse.util.logutils import log_function
from synapse.util.async import run_on_reactor from synapse.util.async import run_on_reactor
from synapse.types import EventID
from collections import namedtuple from collections import namedtuple
import copy import copy

View File

@ -14,8 +14,6 @@
# limitations under the License. # limitations under the License.
import logging import logging
from twisted.internet import defer
from synapse.api.errors import StoreError from synapse.api.errors import StoreError
from synapse.api.events.utils import prune_event from synapse.api.events.utils import prune_event
from synapse.util.logutils import log_function from synapse.util.logutils import log_function