summary refs log tree commit diff
path: root/synapse/storage/appservice.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-11 10:41:33 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-11 10:41:33 +0000
commitfd40d992adfb8b63f6e925dad030c63498501408 (patch)
tree5c34a5955efec056ec2249bc94956da9669b0a7b /synapse/storage/appservice.py
parentAdd newline to EOF (diff)
downloadsynapse-fd40d992adfb8b63f6e925dad030c63498501408.tar.xz
PEP8-ify
Diffstat (limited to 'synapse/storage/appservice.py')
-rw-r--r--synapse/storage/appservice.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/appservice.py b/synapse/storage/appservice.py

index ba31c68595..d941b1f387 100644 --- a/synapse/storage/appservice.py +++ b/synapse/storage/appservice.py
@@ -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"] )) -