mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04: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):
|
def get_3pe_protocol(self, service, protocol):
|
||||||
if service.url == "":
|
if service.url == "":
|
||||||
defer.returnValue({})
|
defer.returnValue({})
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _get():
|
def _get():
|
||||||
uri = "%s%s/thirdparty/protocol/%s" % (
|
uri = "%s%s/thirdparty/protocol/%s" % (
|
||||||
|
@ -135,7 +135,8 @@ def _load_appservice(hostname, as_info, config_filename):
|
|||||||
|
|
||||||
if as_info["url"] == "":
|
if as_info["url"] == "":
|
||||||
logger.info(
|
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,
|
config_filename,
|
||||||
)
|
)
|
||||||
return ApplicationService(
|
return ApplicationService(
|
||||||
|
Loading…
Reference in New Issue
Block a user