]> code.ossystems Code Review - openembedded-core.git/commitdiff
insane.bbclass: fix package_qa_walk()
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 20 Jan 2016 08:34:24 +0000 (00:34 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 23:42:39 +0000 (23:42 +0000)
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>
meta/classes/insane.bbclass

index 9a315edabbfd86a9f40c2745d6c9c2fc74823e7d..2cd5c520320a07925cb135a1ba07bb50e47d8825 100644 (file)
@@ -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)