]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
fetch/wget: latest_versionstring remove unnecessary usage for name in version comparision
authorAníbal Limón <anibal.limon@linux.intel.com>
Fri, 28 Nov 2014 01:12:06 +0000 (19:12 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Nov 2014 13:57:15 +0000 (13:57 +0000)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/wget.py

index 7e4f4323e2846ce666b00a9489f350b9457a33f2..20e8df11ce8fea6a31824647da930bb1d92e14f8 100644 (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: