1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

bitbake: fetch/wget: latest_versionstring remove unnecessary usage for name in version comparision

(Bitbake rev: 91b6b38ccee5e9d5bb27e4cd1578356c3b3dc607)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Aníbal Limón
2014-11-27 19:12:06 -06:00
committed by Richard Purdie
parent 4b2932906c
commit aa35076f34
+2 -2
View File
@@ -253,8 +253,8 @@ class Wget(FetchMethod):
if pn_regex:
m = pn_regex.search(line['href'])
if m:
bb.debug(3, "Name = '%s', Pver = '%s'" % (m.group('name'), m.group('pver')))
newver = (m.group('name'), m.group('pver'), '')
bb.debug(3, "Pver = '%s'" % (m.group('pver')))
newver = ('', m.group('pver'), '')
else:
continue
else: