summaryrefslogtreecommitdiffstats
path: root/bin/bitbake-diffsigs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bitbake-diffsigs')
-rwxr-xr-xbin/bitbake-diffsigs6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/bitbake-diffsigs b/bin/bitbake-diffsigs
index 3b6ef8811c..527d2c7a9c 100755
--- a/bin/bitbake-diffsigs
+++ b/bin/bitbake-diffsigs
@@ -115,9 +115,9 @@ parser.add_option("-t", "--task",
options, args = parser.parse_args(sys.argv)
if options.taskargs:
- tinfoil = bb.tinfoil.Tinfoil()
- tinfoil.prepare(config_only = True)
- find_compare_task(tinfoil, options.taskargs[0], options.taskargs[1])
+ with bb.tinfoil.Tinfoil() as tinfoil:
+ tinfoil.prepare(config_only=True)
+ find_compare_task(tinfoil, options.taskargs[0], options.taskargs[1])
else:
if len(args) == 1:
parser.print_help()