mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:35:06 +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":
|
if sys.platform == "darwin":
|
||||||
executable = "/bin/bash"
|
executable = "/bin/bash"
|
||||||
else:
|
else:
|
||||||
executable = "/bin/sh"
|
executable = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self._httpd = subprocess.Popen(
|
self._httpd = subprocess.Popen(
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ class StandaloneAuthenticator(common.Plugin):
|
|||||||
net_connections = psutil.net_connections()
|
net_connections = psutil.net_connections()
|
||||||
except psutil.AccessDenied as error:
|
except psutil.AccessDenied as error:
|
||||||
logger.info("Access denied when trying to list network "
|
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
|
# this function is just a pre-check that often causes false
|
||||||
# positives and problems in testing (c.f. #680 on Mac, #255
|
# positives and problems in testing (c.f. #680 on Mac, #255
|
||||||
# generally); we will fail later in bind() anyway
|
# generally); we will fail later in bind() anyway
|
||||||
|
|||||||
Reference in New Issue
Block a user