summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/verify-homepage.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/contrib/verify-homepage.py')
-rwxr-xr-xscripts/contrib/verify-homepage.py12
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
56if __name__=='__main__': 56if __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)