summaryrefslogtreecommitdiffstats
path: root/meta/classes/distrodata.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/distrodata.bbclass')
-rw-r--r--meta/classes/distrodata.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index aef7973945..085575a041 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -591,7 +591,7 @@ python do_checkpkg() {
591 pupver = "N/A" 591 pupver = "N/A"
592 pstatus = "ErrUnknown" 592 pstatus = "ErrUnknown"
593 593
594 (type, host, path, user, pswd, parm) = bb.decodeurl(uri) 594 (type, host, path, user, pswd, parm) = bb.fetch.decodeurl(uri)
595 if type in ['http', 'https', 'ftp']: 595 if type in ['http', 'https', 'ftp']:
596 if d.getVar('PRSPV', True): 596 if d.getVar('PRSPV', True):
597 pcurver = d.getVar('PRSPV', True) 597 pcurver = d.getVar('PRSPV', True)
@@ -621,7 +621,7 @@ python do_checkpkg() {
621 dirver = m.group().strip("/") 621 dirver = m.group().strip("/")
622 622
623 """use new path and remove param. for wget only param is md5sum""" 623 """use new path and remove param. for wget only param is md5sum"""
624 alturi = bb.encodeurl([type, host, altpath, user, pswd, {}]) 624 alturi = bb.fetch.encodeurl([type, host, altpath, user, pswd, {}])
625 my_uri = d.getVar('REGEX_URI', True) 625 my_uri = d.getVar('REGEX_URI', True)
626 if my_uri: 626 if my_uri:
627 if d.getVar('PRSPV', True): 627 if d.getVar('PRSPV', True):
@@ -647,7 +647,7 @@ python do_checkpkg() {
647 647
648 chk_uri = d.getVar('REGEX_URI', True) 648 chk_uri = d.getVar('REGEX_URI', True)
649 if not chk_uri: 649 if not chk_uri:
650 alturi = bb.encodeurl([type, host, altpath, user, pswd, {}]) 650 alturi = bb.fetch.encodeurl([type, host, altpath, user, pswd, {}])
651 else: 651 else:
652 alturi = chk_uri 652 alturi = chk_uri
653 newver = check_new_version(alturi, curname, d) 653 newver = check_new_version(alturi, curname, d)