mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
rerun isort with latest version
This commit is contained in:
parent
4a27000548
commit
78a9ddcf9a
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
from ._base import Config
|
from ._base import Config
|
||||||
|
|
||||||
|
|
||||||
DEFAULT_CONFIG = """\
|
DEFAULT_CONFIG = """\
|
||||||
# User Consent configuration
|
# User Consent configuration
|
||||||
#
|
#
|
||||||
|
@ -29,7 +29,6 @@ from synapse.util.versionstring import get_version_string
|
|||||||
|
|
||||||
from ._base import Config
|
from ._base import Config
|
||||||
|
|
||||||
|
|
||||||
DEFAULT_LOG_CONFIG = Template("""
|
DEFAULT_LOG_CONFIG = Template("""
|
||||||
version: 1
|
version: 1
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@ from synapse.types import UserID
|
|||||||
|
|
||||||
from ._base import Config
|
from ._base import Config
|
||||||
|
|
||||||
|
|
||||||
DEFAULT_CONFIG = """\
|
DEFAULT_CONFIG = """\
|
||||||
# Server Notices room configuration
|
# Server Notices room configuration
|
||||||
#
|
#
|
||||||
|
@ -26,11 +26,9 @@ from OpenSSL.SSL import VERIFY_NONE
|
|||||||
from twisted.internet import defer, protocol, reactor, ssl, task
|
from twisted.internet import defer, protocol, reactor, ssl, task
|
||||||
from twisted.internet.endpoints import HostnameEndpoint, wrapClientTLS
|
from twisted.internet.endpoints import HostnameEndpoint, wrapClientTLS
|
||||||
from twisted.web._newclient import ResponseDone
|
from twisted.web._newclient import ResponseDone
|
||||||
|
from twisted.web.client import Agent, BrowserLikeRedirectAgent, ContentDecoderAgent
|
||||||
from twisted.web.client import FileBodyProducer as TwistedFileBodyProducer
|
from twisted.web.client import FileBodyProducer as TwistedFileBodyProducer
|
||||||
from twisted.web.client import (
|
from twisted.web.client import (
|
||||||
Agent,
|
|
||||||
BrowserLikeRedirectAgent,
|
|
||||||
ContentDecoderAgent,
|
|
||||||
GzipDecoder,
|
GzipDecoder,
|
||||||
HTTPConnectionPool,
|
HTTPConnectionPool,
|
||||||
PartialDownloadError,
|
PartialDownloadError,
|
||||||
|
@ -15,21 +15,11 @@
|
|||||||
|
|
||||||
from synapse.http.server import JsonResource
|
from synapse.http.server import JsonResource
|
||||||
from synapse.rest.client import versions
|
from synapse.rest.client import versions
|
||||||
|
from synapse.rest.client.v1 import admin, directory, events, initial_sync
|
||||||
from synapse.rest.client.v1 import login as v1_login
|
from synapse.rest.client.v1 import login as v1_login
|
||||||
|
from synapse.rest.client.v1 import logout, presence, profile, push_rule, pusher
|
||||||
from synapse.rest.client.v1 import register as v1_register
|
from synapse.rest.client.v1 import register as v1_register
|
||||||
from synapse.rest.client.v1 import (
|
from synapse.rest.client.v1 import room, voip
|
||||||
admin,
|
|
||||||
directory,
|
|
||||||
events,
|
|
||||||
initial_sync,
|
|
||||||
logout,
|
|
||||||
presence,
|
|
||||||
profile,
|
|
||||||
push_rule,
|
|
||||||
pusher,
|
|
||||||
room,
|
|
||||||
voip,
|
|
||||||
)
|
|
||||||
from synapse.rest.client.v2_alpha import (
|
from synapse.rest.client.v2_alpha import (
|
||||||
account,
|
account,
|
||||||
account_data,
|
account_data,
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
from synapse.storage.engines import PostgresEngine
|
from synapse.storage.engines import PostgresEngine
|
||||||
from synapse.storage.prepare_database import get_statements
|
from synapse.storage.prepare_database import get_statements
|
||||||
|
|
||||||
|
|
||||||
FIX_INDEXES = """
|
FIX_INDEXES = """
|
||||||
-- rebuild indexes as uniques
|
-- rebuild indexes as uniques
|
||||||
DROP INDEX groups_invites_g_idx;
|
DROP INDEX groups_invites_g_idx;
|
||||||
|
Loading…
Reference in New Issue
Block a user