diff options
author | Phil Blundell <philb@gnu.org> | 2004-08-07 14:20:25 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-08-07 14:20:25 +0000 |
commit | 783747de68347d49d0c50c93adbe16504be8e865 (patch) | |
tree | 927ff78afd5712715cfe5dc0fdc32cdba4362390 /bin | |
parent | 2bf8b978a64315b1f444abf789441beb7b8b2a2f (diff) | |
download | bitbake-783747de68347d49d0c50c93adbe16504be8e865.tar.gz |
admit blank lines as legitimate python content
Diffstat (limited to 'bin')
-rw-r--r-- | bin/oe/parse/OEHandler.py | 2 |
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__ = "" |