mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb: Disable a log file for the check command.
Fix a minor issue in the log module.
This commit is contained in:
parent
7f49a01a05
commit
6951eb276e
@ -263,7 +263,7 @@ def check_orphans(opts):
|
||||
def run():
|
||||
import sys
|
||||
try:
|
||||
_opts = options.load(args = sys.argv)
|
||||
_opts = options.load(args = sys.argv, logfile = False)
|
||||
log.notice('RTEMS Source Builder - Check, %s' % (version.str()))
|
||||
|
||||
orphans = _opts.parse_args('--check-orphans', error = False, extra = False)
|
||||
|
@ -40,6 +40,7 @@ tracing = False
|
||||
quiet = False
|
||||
|
||||
def set_default_once(log):
|
||||
global default
|
||||
if default is None:
|
||||
default = log
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user