mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 03:09:22 -05:00
PEP8
This commit is contained in:
parent
b8092fbc82
commit
e1c0970c11
synapse
@ -16,7 +16,6 @@
|
|||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
|
|
||||||
from synapse.api.errors import LimitExceededError, SynapseError
|
from synapse.api.errors import LimitExceededError, SynapseError
|
||||||
from synapse.util.async import run_on_reactor
|
|
||||||
from synapse.crypto.event_signing import add_hashes_and_signatures
|
from synapse.crypto.event_signing import add_hashes_and_signatures
|
||||||
from synapse.api.constants import Membership, EventTypes
|
from synapse.api.constants import Membership, EventTypes
|
||||||
from synapse.types import UserID
|
from synapse.types import UserID
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
|
|
||||||
from synapse.storage import prepare_database, prepare_sqlite3_database
|
from synapse.storage import prepare_database, prepare_sqlite3_database
|
||||||
|
|
||||||
import types
|
|
||||||
|
|
||||||
|
|
||||||
class Sqlite3Engine(object):
|
class Sqlite3Engine(object):
|
||||||
def __init__(self, database_module):
|
def __init__(self, database_module):
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import collections
|
|
||||||
|
|
||||||
from ._base import SQLBaseStore, Table
|
from ._base import SQLBaseStore, Table
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
|
|
||||||
@ -167,4 +165,3 @@ class PusherStore(SQLBaseStore):
|
|||||||
|
|
||||||
class PushersTable(Table):
|
class PushersTable(Table):
|
||||||
table_name = "pushers"
|
table_name = "pushers"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user