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():
|
def run():
|
||||||
import sys
|
import sys
|
||||||
try:
|
try:
|
||||||
_opts = options.load(args = sys.argv)
|
_opts = options.load(args = sys.argv, logfile = False)
|
||||||
log.notice('RTEMS Source Builder - Check, %s' % (version.str()))
|
log.notice('RTEMS Source Builder - Check, %s' % (version.str()))
|
||||||
|
|
||||||
orphans = _opts.parse_args('--check-orphans', error = False, extra = False)
|
orphans = _opts.parse_args('--check-orphans', error = False, extra = False)
|
||||||
|
@ -40,6 +40,7 @@ tracing = False
|
|||||||
quiet = False
|
quiet = False
|
||||||
|
|
||||||
def set_default_once(log):
|
def set_default_once(log):
|
||||||
|
global default
|
||||||
if default is None:
|
if default is None:
|
||||||
default = log
|
default = log
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user