summaryrefslogtreecommitdiff
path: root/classes/insane.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-10-24 13:17:33 +0000
committerKoen Kooi <koen@openembedded.org>2006-10-24 13:17:33 +0000
commit0e75ba001e9b5273c7a3b163f9866077c4b769a9 (patch)
treed0626ed9a99cf92b3d71a53de21ecb97ee9846b9 /classes/insane.bbclass
parent6d5ffd6df515a08010229d5bfd9d8617ad14437a (diff)
insane.bbclass: fix some python stuff and make error message a bit more helpfull
Diffstat (limited to 'classes/insane.bbclass')
-rw-r--r--classes/insane.bbclass6
1 files changed, 3 insertions, 3 deletions
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):
"""