diff options
-rw-r--r-- | scripts/lib/devtool/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index bba0721543..b231e46b16 100644 --- a/scripts/lib/devtool/__init__.py +++ b/scripts/lib/devtool/__init__.py | |||
@@ -115,8 +115,8 @@ def setup_tinfoil(config_only=False, basepath=None, tracking=False): | |||
115 | import bb.tinfoil | 115 | import bb.tinfoil |
116 | tinfoil = bb.tinfoil.Tinfoil(tracking=tracking) | 116 | tinfoil = bb.tinfoil.Tinfoil(tracking=tracking) |
117 | try: | 117 | try: |
118 | tinfoil.prepare(config_only) | ||
119 | tinfoil.logger.setLevel(logger.getEffectiveLevel()) | 118 | tinfoil.logger.setLevel(logger.getEffectiveLevel()) |
119 | tinfoil.prepare(config_only) | ||
120 | except bb.tinfoil.TinfoilUIException: | 120 | except bb.tinfoil.TinfoilUIException: |
121 | tinfoil.shutdown() | 121 | tinfoil.shutdown() |
122 | raise DevtoolError('Failed to start bitbake environment') | 122 | raise DevtoolError('Failed to start bitbake environment') |