diff options
Diffstat (limited to 'scripts/contrib/verify-homepage.py')
| -rwxr-xr-x | scripts/contrib/verify-homepage.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/contrib/verify-homepage.py b/scripts/contrib/verify-homepage.py index 61a047c40b..0b1450a018 100755 --- a/scripts/contrib/verify-homepage.py +++ b/scripts/contrib/verify-homepage.py | |||
| @@ -33,17 +33,17 @@ def wgetHomepage(pn, homepage): | |||
| 33 | return 0 | 33 | return 0 |
| 34 | 34 | ||
| 35 | def verifyHomepage(bbhandler): | 35 | def verifyHomepage(bbhandler): |
| 36 | pkg_pn = bbhandler.cooker.recipecache.pkg_pn | 36 | pkg_pn = bbhandler.cooker.recipecaches[''].pkg_pn |
| 37 | pnlist = sorted(pkg_pn) | 37 | pnlist = sorted(pkg_pn) |
| 38 | count = 0 | 38 | count = 0 |
| 39 | checked = [] | 39 | checked = [] |
| 40 | for pn in pnlist: | 40 | for pn in pnlist: |
| 41 | for fn in pkg_pn[pn]: | 41 | for fn in pkg_pn[pn]: |
| 42 | # There's no point checking multiple BBCLASSEXTENDed variants of the same recipe | 42 | # There's no point checking multiple BBCLASSEXTENDed variants of the same recipe |
| 43 | realfn, _ = bb.cache.Cache.virtualfn2realfn(fn) | 43 | realfn, _, _ = bb.cache.virtualfn2realfn(fn) |
| 44 | if realfn in checked: | 44 | if realfn in checked: |
| 45 | continue | 45 | continue |
| 46 | data = bb.cache.Cache.loadDataFull(realfn, bbhandler.cooker.collection.get_file_appends(realfn), bbhandler.config_data) | 46 | data = bbhandler.parse_recipe_file(realfn) |
| 47 | homepage = data.getVar("HOMEPAGE", True) | 47 | homepage = data.getVar("HOMEPAGE", True) |
| 48 | if homepage: | 48 | if homepage: |
| 49 | try: | 49 | try: |
