mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
update.py: set log level earlier
Ensure that we're not printing info messages when the -q option is specified. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
9cec14c8a9
commit
42d710b640
|
@ -189,6 +189,8 @@ def main():
|
|||
|
||||
setup_environ(settings)
|
||||
|
||||
logger.setLevel(options.loglevel)
|
||||
|
||||
branch = get_branch(options.branch)
|
||||
if not branch:
|
||||
logger.error("Specified branch %s is not valid" % options.branch)
|
||||
|
@ -283,8 +285,6 @@ def main():
|
|||
tinfoil = bb.tinfoil.Tinfoil()
|
||||
tinfoil.prepare(config_only = True)
|
||||
|
||||
logger.setLevel(options.loglevel)
|
||||
|
||||
# Clear the default value of SUMMARY so that we can use DESCRIPTION instead if it hasn't been set
|
||||
tinfoil.config_data.setVar('SUMMARY', '')
|
||||
# Clear the default value of DESCRIPTION so that we can see where it's not set
|
||||
|
|
Loading…
Reference in New Issue
Block a user