aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-07 14:20:25 +0000
committerPhil Blundell <philb@gnu.org>2004-08-07 14:20:25 +0000
commit783747de68347d49d0c50c93adbe16504be8e865 (patch)
tree927ff78afd5712715cfe5dc0fdc32cdba4362390 /bin
parent2bf8b978a64315b1f444abf789441beb7b8b2a2f (diff)
downloadbitbake-783747de68347d49d0c50c93adbe16504be8e865.tar.gz
admit blank lines as legitimate python content
Diffstat (limited to 'bin')
-rw-r--r--bin/oe/parse/OEHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/oe/parse/OEHandler.py b/bin/oe/parse/OEHandler.py
index 9e2798c30..78aa27c55 100644
--- a/bin/oe/parse/OEHandler.py
+++ b/bin/oe/parse/OEHandler.py
@@ -18,7 +18,7 @@ __export_func_regexp__ = re.compile( r"EXPORT_FUNCTIONS\s+(.+)" )
__addtask_regexp__ = re.compile("addtask\s+(?P<func>\w+)\s*((before\s*(?P<before>((.*(?=after))|(.*))))|(after\s*(?P<after>((.*(?=before))|(.*)))))*")
__addhandler_regexp__ = re.compile( r"addhandler\s+(.+)" )
__def_regexp__ = re.compile( r"def\s+(\w+).*:" )
-__python_func_regexp__ = re.compile( r"\s+.*" )
+__python_func_regexp__ = re.compile( r"(\s+.*)|(^$)" )
__word__ = re.compile(r"\S+")
__infunc__ = ""