mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-08 11:32:29 +00:00
Flake8
This commit is contained in:
parent
e82247f990
commit
16b652f0a3
@ -153,6 +153,7 @@ class ApplicationServiceApi(SimpleHttpClient):
|
||||
def get_3pe_protocol(self, service, protocol):
|
||||
if service.url == "":
|
||||
defer.returnValue({})
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def _get():
|
||||
uri = "%s%s/thirdparty/protocol/%s" % (
|
||||
|
@ -135,7 +135,8 @@ def _load_appservice(hostname, as_info, config_filename):
|
||||
|
||||
if as_info["url"] == "":
|
||||
logger.info(
|
||||
"(%s) Explicitly empty 'url' provided. This application service will not receive events or queries.",
|
||||
"(%s) Explicitly empty 'url' provided. This application service " +
|
||||
"will not receive events or queries.",
|
||||
config_filename,
|
||||
)
|
||||
return ApplicationService(
|
||||
|
Loading…
Reference in New Issue
Block a user