summaryrefslogtreecommitdiff
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-01-20 00:34:24 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-22 23:42:39 +0000
commitb07d06d02cb675f5ed00ebe603441254f5671088 (patch)
tree549955c796b48228ae0cef4cc8e80de5a935a648 /meta/classes/insane.bbclass
parent1dcb38ca9d632887dd99ea9fa32dd955561dc18d (diff)
downloadopenembedded-core-b07d06d02cb675f5ed00ebe603441254f5671088.tar.gz
openembedded-core-b07d06d02cb675f5ed00ebe603441254f5671088.tar.bz2
openembedded-core-b07d06d02cb675f5ed00ebe603441254f5671088.zip
insane.bbclass: fix package_qa_walk()
The parameter "path" would be redefined inside package_qa_walk() which is useless, so remove it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 9a315edabb..2cd5c52032 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -767,7 +767,7 @@ def package_qa_check_staged(path,d):
return sane
# Walk over all files in a directory and call func
-def package_qa_walk(path, warnfuncs, errorfuncs, skip, package, d):
+def package_qa_walk(warnfuncs, errorfuncs, skip, package, d):
import oe.qa
#if this will throw an exception, then fix the dict above
@@ -1092,7 +1092,7 @@ python do_package_qa () {
"%s doesn't match the [a-z0-9.+-]+ regex" % package, d)
path = "%s/%s" % (pkgdest, package)
- package_qa_walk(path, warnchecks, errorchecks, skip, package, d)
+ package_qa_walk(warnchecks, errorchecks, skip, package, d)
package_qa_check_rdepends(package, pkgdest, skip, taskdeps, packages, d)
package_qa_check_deps(package, pkgdest, skip, d)