From 801ceca32b26d07be9a7e976518538bf4419c6c2 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 2 Dec 2016 23:50:22 +0100 Subject: [PATCH] [mod] pep8 --- src/yunohost/tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yunohost/tools.py b/src/yunohost/tools.py index bd3bb9696..7cc221683 100644 --- a/src/yunohost/tools.py +++ b/src/yunohost/tools.py @@ -149,9 +149,9 @@ def tools_maindomain(auth, new_domain=None): new_ssl_crt = "/etc/yunohost/certs/%s/crt.pem" % new_domain try: - if os.path.exists(ssl_key) or os.path.lexists(ssl_key) : + if os.path.exists(ssl_key) or os.path.lexists(ssl_key): os.remove(ssl_key) - if os.path.exists(ssl_crt) or os.path.lexists(ssl_crt) : + if os.path.exists(ssl_crt) or os.path.lexists(ssl_crt): os.remove(ssl_crt) os.symlink(new_ssl_key, ssl_key)