fix formatting issues

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Alice Kile authored and James Valleroy committed 2019-12-07 13:08:35 -05:00
1 parent fa74a26042
commit eb83e00011
134 files changed
+598 -720

No files matched your search

+6 -5
View File
@@ -326,9 +326,10 @@ class LetsEncrypt(app.FollowerComponent):
source_certificate_path,
private_key_path, certificate_path)
else:
self._copy_certificate(
source_private_key_path, source_certificate_path,
self.private_key_path, self.certificate_path)
self._copy_certificate(source_private_key_path,
source_certificate_path,
self.private_key_path,
self.certificate_path)
def _copy_certificate(self, source_private_key_path,
source_certificate_path, private_key_path,
@@ -374,8 +375,8 @@ def on_certificate_event(event, domains, lineage):
certificate changes.
"""
threading.Thread(target=on_certificate_event_sync, args=(event, domains,
lineage)).start()
threading.Thread(target=on_certificate_event_sync,
args=(event, domains, lineage)).start()
def on_certificate_event_sync(event, domains, lineage):