]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Skip testing "packages" a second time.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Thu, 3 Jan 2013 16:01:07 +0000 (11:01 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Jan 2013 11:09:03 +0000 (11:09 +0000)
commit371fbacff47828cfff99f1152f9e269e27c474da
tree758264eec168866b37b015aed454d49671051043
parent791d88336fb8312041c30ea744d03d8d150d2b8f
package.bbclass: Skip testing "packages" a second time.

Since the "packages" variable is already tested a few lines above in
the same routine:

    if len(packages) < 1:
        bb.debug(1, "No packages to build, skipping do_package")
        return

there is no point testing it again, and the error message doesn't even
refer to "packages", anyway.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/package.bbclass