mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Minor syntax neatenings
This commit is contained in:
parent
fcf1dec809
commit
2a91799fcc
2 changed files with 10 additions and 16 deletions
|
@ -73,7 +73,7 @@ class ApplicationServiceApi(SimpleHttpClient):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def query_3pu(self, service, protocol, fields):
|
||||
uri = service.url + ("/3pu/%s" % urllib.quote(protocol))
|
||||
uri = "%s/3pu/%s" % (service.url, urllib.quote(protocol))
|
||||
response = None
|
||||
try:
|
||||
response = yield self.get_json(uri, fields)
|
||||
|
@ -84,7 +84,7 @@ class ApplicationServiceApi(SimpleHttpClient):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def query_3pl(self, service, protocol, fields):
|
||||
uri = service.url + ("/3pl/%s" % urllib.quote(protocol))
|
||||
uri = "%s/3pl/%s" % (service.url, urllib.quote(protocol))
|
||||
response = None
|
||||
try:
|
||||
response = yield self.get_json(uri, fields)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue