aboutsummaryrefslogtreecommitdiffstats
path: root/layerindex/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'layerindex/update.py')
-rwxr-xr-xlayerindex/update.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/layerindex/update.py b/layerindex/update.py
index 338e31d3b7..8e7acceec5 100755
--- a/layerindex/update.py
+++ b/layerindex/update.py
@@ -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