diff options
Diffstat (limited to 'scripts/contrib/verify-homepage.py')
-rwxr-xr-x | scripts/contrib/verify-homepage.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/contrib/verify-homepage.py b/scripts/contrib/verify-homepage.py index 0b1450a018..d39dd1d973 100755 --- a/scripts/contrib/verify-homepage.py +++ b/scripts/contrib/verify-homepage.py | |||
@@ -54,9 +54,9 @@ def verifyHomepage(bbhandler): | |||
54 | return count | 54 | return count |
55 | 55 | ||
56 | if __name__=='__main__': | 56 | if __name__=='__main__': |
57 | bbhandler = bb.tinfoil.Tinfoil() | 57 | with bb.tinfoil.Tinfoil() as bbhandler: |
58 | bbhandler.prepare() | 58 | bbhandler.prepare() |
59 | logger.info("Start verifying HOMEPAGE:") | 59 | logger.info("Start verifying HOMEPAGE:") |
60 | failcount = verifyHomepage(bbhandler) | 60 | failcount = verifyHomepage(bbhandler) |
61 | logger.info("Finished verifying HOMEPAGE.") | 61 | logger.info("Finished verifying HOMEPAGE.") |
62 | logger.info("Summary: %s failed" % failcount) | 62 | logger.info("Summary: %s failed" % failcount) |