From: Koen Kooi Date: Tue, 24 Oct 2006 13:17:33 +0000 (+0000) Subject: insane.bbclass: fix some python stuff and make error message a bit more helpfull X-Git-Tag: Release-2010-05/1~9453^2~567^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e75ba001e9b5273c7a3b163f9866077c4b769a9;p=openembedded.git insane.bbclass: fix some python stuff and make error message a bit more helpfull --- diff --git a/classes/insane.bbclass b/classes/insane.bbclass index 693295a7a5..55f7721153 100644 --- a/classes/insane.bbclass +++ b/classes/insane.bbclass @@ -50,11 +50,11 @@ def package_qa_check_devdbg(path, name,d): import bb if not "-dev" in name: if path[-3:] == ".so": - bb.error("QA Issue: non dev package contains .so") + bb.error("QA Issue: non dev package contains .so: %s" % name) if not "-dbg" in name: - if path.contains('.debug'): - bb.error("QA Issue: non debug package contains .dbg file") + if '.debug' in path: + bb.error("QA Issue: non debug package contains .dbg file: %s" % name) def package_qa_check_perm(path,name,d): """