mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:09:10 +02:00
PEP8 E128 up in here. Don't assume sh exists
This commit is contained in:
@@ -133,7 +133,7 @@ binary for temporary key/certificate generation.""".replace("\n", "")
|
||||
if sys.platform == "darwin":
|
||||
executable = "/bin/bash"
|
||||
else:
|
||||
executable = "/bin/sh"
|
||||
executable = None
|
||||
|
||||
try:
|
||||
self._httpd = subprocess.Popen(
|
||||
|
||||
@@ -309,7 +309,7 @@ class StandaloneAuthenticator(common.Plugin):
|
||||
net_connections = psutil.net_connections()
|
||||
except psutil.AccessDenied as error:
|
||||
logger.info("Access denied when trying to list network "
|
||||
"connections: %s. Are you root?", error)
|
||||
"connections: %s. Are you root?", error)
|
||||
# this function is just a pre-check that often causes false
|
||||
# positives and problems in testing (c.f. #680 on Mac, #255
|
||||
# generally); we will fail later in bind() anyway
|
||||
|
||||
Reference in New Issue
Block a user