summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/verify-homepage.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-07-23 11:14:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:39:36 +0000
commit0e348e76f3caaed3b2a1a2e664e8388c1fd0428c (patch)
tree1815eaaf4a0c07167c58f8c8626049c8e01330ec /scripts/contrib/verify-homepage.py
parentcaaca00acbba05e3fbf30482930106485cf8d7fa (diff)
downloadpoky-0e348e76f3caaed3b2a1a2e664e8388c1fd0428c.tar.gz
verify-homepage: get expanded HOMEPAGE value
We tend not to use any variables in HOMEPAGE values, but that doesn't mean we would never do so. (From OE-Core rev: 388737270b681439b31f4e1189bdc09d38705f25) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/verify-homepage.py')
-rwxr-xr-xscripts/contrib/verify-homepage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/contrib/verify-homepage.py b/scripts/contrib/verify-homepage.py
index 9953babf6d..3e7333959c 100755
--- a/scripts/contrib/verify-homepage.py
+++ b/scripts/contrib/verify-homepage.py
@@ -35,7 +35,7 @@ def verifyHomepage(bbhandler):
35 for pn in pnlist: 35 for pn in pnlist:
36 fn = pkg_pn[pn].pop() 36 fn = pkg_pn[pn].pop()
37 data = bb.cache.Cache.loadDataFull(fn, bbhandler.cooker.collection.get_file_appends(fn), bbhandler.config_data) 37 data = bb.cache.Cache.loadDataFull(fn, bbhandler.cooker.collection.get_file_appends(fn), bbhandler.config_data)
38 homepage = data.getVar("HOMEPAGE") 38 homepage = data.getVar("HOMEPAGE", True)
39 if homepage: 39 if homepage:
40 try: 40 try:
41 urllib2.urlopen(homepage, timeout=5) 41 urllib2.urlopen(homepage, timeout=5)