diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2014-11-27 19:12:06 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-28 14:03:01 +0000 |
commit | aa35076f343ccfc7180e55cad434ecc900e6ccdb (patch) | |
tree | 64ef9e8bdd609f00ef4755c4d0d81e2aa965766b /bitbake | |
parent | 4b2932906c8d444f4dffebf3c665904844815806 (diff) | |
download | poky-aa35076f343ccfc7180e55cad434ecc900e6ccdb.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 7e4f4323e2..20e8df11ce 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -253,8 +253,8 @@ class Wget(FetchMethod): | |||
253 | if pn_regex: | 253 | if pn_regex: |
254 | m = pn_regex.search(line['href']) | 254 | m = pn_regex.search(line['href']) |
255 | if m: | 255 | if m: |
256 | bb.debug(3, "Name = '%s', Pver = '%s'" % (m.group('name'), m.group('pver'))) | 256 | bb.debug(3, "Pver = '%s'" % (m.group('pver'))) |
257 | newver = (m.group('name'), m.group('pver'), '') | 257 | newver = ('', m.group('pver'), '') |
258 | else: | 258 | else: |
259 | continue | 259 | continue |
260 | else: | 260 | else: |