[oe-commits] Holger Hans Peter Freyther : oe_audit.py: Parse the full output of bitbake -s

git version control git at git.openembedded.org
Thu Mar 18 14:07:51 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: bd415877ea420a848481f72a3227fdc577c5242c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=bd415877ea420a848481f72a3227fdc577c5242c

Author: Holger Hans Peter Freyther <zecke at selfish.org>
Date:   Thu Mar 18 13:56:59 2010 +0100

oe_audit.py: Parse the full output of bitbake -s

Instead of being forced to manually edit we can now parse
the full output of bitbake -s.

---

 contrib/qa/oe_audit.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/contrib/qa/oe_audit.py b/contrib/qa/oe_audit.py
index 7e04480..905f110 100755
--- a/contrib/qa/oe_audit.py
+++ b/contrib/qa/oe_audit.py
@@ -11,6 +11,9 @@ def read_available(filename):
     packages = {}
 
     for line in f:
+        if line.startswith("NOTE: ") or line.startswith("Parsing .bb"):
+            continue
+
         # str.split can not be used as we have multiple whitespace
         first_space = line.find(" ")
         package = line[0:first_space]





More information about the Openembedded-commits mailing list