aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-07-06 10:40:18 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-06 22:59:28 +0100
commitab0eb2bf0db6e7da7c9b9bb4d46621dbf76dcc2a (patch)
treebebbe240c051c402babec0e36eb54444514248f4
parentdc7c181f231db1290ea7d7d5e42476e70a488d73 (diff)
downloadopenembedded-core-contrib-ab0eb2bf0db6e7da7c9b9bb4d46621dbf76dcc2a.tar.gz
openembedded-core-contrib-ab0eb2bf0db6e7da7c9b9bb4d46621dbf76dcc2a.tar.bz2
openembedded-core-contrib-ab0eb2bf0db6e7da7c9b9bb4d46621dbf76dcc2a.zip
classes/sstate: Remove unused argument
Removes an unused argument to pstaging_fetch() Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index a78d07c41d3..5a0722567a5 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -300,7 +300,7 @@ def sstate_installpkg(ss, d):
sstatepkg = d.getVar('SSTATE_PKG') + '_' + ss['task'] + ".tgz"
if not os.path.exists(sstatepkg):
- pstaging_fetch(sstatefetch, sstatepkg, d)
+ pstaging_fetch(sstatefetch, d)
if not os.path.isfile(sstatepkg):
bb.note("Staging package %s does not exist" % sstatepkg)
@@ -635,7 +635,7 @@ def sstate_package(ss, d):
return
-def pstaging_fetch(sstatefetch, sstatepkg, d):
+def pstaging_fetch(sstatefetch, d):
import bb.fetch2
# Only try and fetch if the user has configured a mirror