mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
pep8
This commit is contained in:
parent
41a5ba1682
commit
1b77bd69fb
@ -21,8 +21,8 @@ from six import iteritems
|
|||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
|
|
||||||
from synapse.api.constants import EventTypes, JoinRules
|
from synapse.api.constants import EventTypes, JoinRules
|
||||||
from synapse.storage.engines import PostgresEngine, Sqlite3Engine
|
|
||||||
from synapse.storage.background_updates import BackgroundUpdateStore
|
from synapse.storage.background_updates import BackgroundUpdateStore
|
||||||
|
from synapse.storage.engines import PostgresEngine, Sqlite3Engine
|
||||||
from synapse.storage.state import StateFilter
|
from synapse.storage.state import StateFilter
|
||||||
from synapse.types import get_domain_from_id, get_localpart_from_id
|
from synapse.types import get_domain_from_id, get_localpart_from_id
|
||||||
from synapse.util.caches.descriptors import cached, cachedInlineCallbacks
|
from synapse.util.caches.descriptors import cached, cachedInlineCallbacks
|
||||||
@ -38,7 +38,6 @@ class UserDirectoryStore(BackgroundUpdateStore):
|
|||||||
"users_in_public_rooms_initial", self._populate_users_in_public_rooms
|
"users_in_public_rooms_initial", self._populate_users_in_public_rooms
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _populate_users_in_public_rooms(self, progress, batch_size):
|
def _populate_users_in_public_rooms(self, progress, batch_size):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user