PEP8 E128 up in here. Don't assume sh exists

This commit is contained in:
Brandon Kreisel
2015-10-08 16:15:09 -04:00
parent 8012382368
commit 744afe9cea
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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