summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-10 09:56:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:55:08 +0000
commitfb01a66f482a742805ea40fb2b7162b062b38021 (patch)
tree62efbb073d8b401bc118164c37b4e56e04b2e1c9 /bitbake/lib
parent7db88aa67dc0701963eb69d937caf67cbb3a1637 (diff)
downloadpoky-fb01a66f482a742805ea40fb2b7162b062b38021.tar.gz
bitbake: fetch2: Remove crazy code in unpack
This looks reasonable until you realise self.localpath is a function. Data expansion of something which isn't a string is the original value so this code just wastes CPU cycles and makes no sense. Remove it. (Bitbake rev: 37214ea9bf484998b75dbc1200d53f1afc5257ed) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 288a1c8fd0..d66a212cb3 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1686,9 +1686,6 @@ class Fetch(object):
1686 ud = self.ud[u] 1686 ud = self.ud[u]
1687 ud.setup_localpath(self.d) 1687 ud.setup_localpath(self.d)
1688 1688
1689 if self.d.expand(self.localpath) is None:
1690 continue
1691
1692 if ud.lockfile: 1689 if ud.lockfile:
1693 lf = bb.utils.lockfile(ud.lockfile) 1690 lf = bb.utils.lockfile(ud.lockfile)
1694 1691