Commit 68b1fcd5 authored by Guido Trotter's avatar Guido Trotter

Remove references to utils.debug

Various modules set it to True when called in debugging mode, but the
utils module supports no such global.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent be73fc79
......@@ -473,7 +473,6 @@ def main():
"""Main function"""
options, args = ParseOptions()
utils.debug = options.debug
utils.no_fork = True
if options.fork:
......
......@@ -746,7 +746,6 @@ def main():
global queue_lock
options, args = ParseOptions()
utils.debug = options.debug
if options.fork:
utils.CloseFDs()
......
......@@ -735,8 +735,6 @@ def GenericMain(commands, override=None, aliases=None):
utils.SetupLogging(constants.LOG_COMMANDS, debug=options.debug,
stderr_logging=True, program=binary)
utils.debug = options.debug
if old_cmdline:
logging.info("run with arguments '%s'", old_cmdline)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment