From b07d06d02cb675f5ed00ebe603441254f5671088 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 20 Jan 2016 00:34:24 -0800 Subject: 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 Signed-off-by: Ross Burton --- meta/classes/insane.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/classes/insane.bbclass') 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) -- cgit v1.2.3