fix some wrong variable names, fixes #1353
This commit is contained in:
parent
dc6458623d
commit
870b82637a
2 changed files with 2 additions and 2 deletions
|
@ -572,7 +572,7 @@ def munin_cgi(filename):
|
||||||
|
|
||||||
if code != 0:
|
if code != 0:
|
||||||
# nonzero returncode indicates error
|
# nonzero returncode indicates error
|
||||||
app.logger.error("munin_cgi: munin-cgi-graph returned nonzero exit code, %s", process.returncode)
|
app.logger.error("munin_cgi: munin-cgi-graph returned nonzero exit code, %s", code)
|
||||||
return ("error processing graph image", 500)
|
return ("error processing graph image", 500)
|
||||||
|
|
||||||
# /usr/lib/munin/cgi/munin-cgi-graph returns both headers and binary png when successful.
|
# /usr/lib/munin/cgi/munin-cgi-graph returns both headers and binary png when successful.
|
||||||
|
|
|
@ -128,7 +128,7 @@ def sslyze(opts, port, ok_ciphers):
|
||||||
proxy_proc.terminate()
|
proxy_proc.terminate()
|
||||||
try:
|
try:
|
||||||
proxy_proc.wait(5)
|
proxy_proc.wait(5)
|
||||||
except TimeoutExpired:
|
except subprocess.TimeoutExpired:
|
||||||
proxy_proc.kill()
|
proxy_proc.kill()
|
||||||
|
|
||||||
# Get a list of OpenSSL cipher names.
|
# Get a list of OpenSSL cipher names.
|
||||||
|
|
Loading…
Reference in a new issue