2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2025-01-26 18:20:22 +01:00

Set Logs.verbose from options (regression from be05b6ee8b3c45e6fd1ede97f31627d33b9bc73a)

This commit is contained in:
Calle Rosenquist 2017-09-19 12:14:20 +00:00 committed by ita1024
parent 74204e57e0
commit 1354a37255

View File

@ -302,6 +302,7 @@ class OptionsContext(Context.Context):
os.environ[name.strip()] = value
def init_logs(self, options, commands, envvars):
Logs.verbose = options.verbose
if options.verbose >= 1:
self.load('errcheck')