mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
PEP8-ify
This commit is contained in:
parent
8beb613916
commit
fd40d992ad
4 changed files with 1 additions and 9 deletions
|
@ -97,7 +97,6 @@ class ApplicationServiceStore(SQLBaseStore):
|
|||
# allocate new ASes. It relies on the server admin inserting the AS
|
||||
# token into the database manually.
|
||||
|
||||
|
||||
if not service.token or not service.url:
|
||||
raise StoreError(400, "Token and url must be specified.")
|
||||
|
||||
|
@ -186,7 +185,6 @@ class ApplicationServiceStore(SQLBaseStore):
|
|||
# TODO: The from_cache=False impl
|
||||
# TODO: This should be JOINed with the application_services_regex table.
|
||||
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def _populate_cache(self):
|
||||
"""Populates the ApplicationServiceCache from the database."""
|
||||
|
@ -244,4 +242,3 @@ class ApplicationServiceStore(SQLBaseStore):
|
|||
hs_token=service["hs_token"],
|
||||
sender=service["sender"]
|
||||
))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue