diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-02-15 12:29:34 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-02-15 12:29:34 +0000 |
commit | f86b695cbd6a39492946fcddbfcc241ff836e767 (patch) | |
tree | f26c8870f92ee9ba77c548d49fdc65628a952199 /synapse | |
parent | Remove unused import (diff) | |
download | synapse-f86b695cbd6a39492946fcddbfcc241ff836e767.tar.xz |
Various cosmetics to make TravisCI happy
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/acme.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/synapse/handlers/acme.py b/synapse/handlers/acme.py index 93a6a36e6a..a56a9cd287 100644 --- a/synapse/handlers/acme.py +++ b/synapse/handlers/acme.py @@ -131,13 +131,16 @@ class AcmeHandler(object): tls_client_options_factory=ClientTLSOptionsFactory(None), reactor=self.reactor, ) - delegated = yield agent._get_well_known(bytes(self.hs.hostname,"ascii")) + delegated = yield agent._get_well_known(bytes(self.hs.hostname, "ascii")) # If .well-known is in use, use the delegated hostname instead of the # homeserver's server_name. if delegated: cert_name = delegated.decode("ascii") - logger.info(".well-known is in use, provisionning %s instead of %s", cert_name, self.hs.hostname) + logger.info( + ".well-known is in use, provisionning %s instead of %s", + cert_name, self.hs.hostname, + ) else: cert_name = self.hs.hostname |