diff options
author | Chris Larson <clarson@mvista.com> | 2009-09-12 22:42:45 -0700 |
---|---|---|
committer | Chris Larson <clarson@mvista.com> | 2009-09-14 11:08:23 -0700 |
commit | a002f4f0d13ea7dca261b77d5e2278c3fd35acda (patch) | |
tree | 858bfe8315b4052f3a0b153d173a04dfebbc4791 /lib/bb/event.py | |
parent | 30d00e1a550931cb7f62e6574a7dd2d7b33f182b (diff) | |
download | bitbake-a002f4f0d13ea7dca261b77d5e2278c3fd35acda.tar.gz |
Add a RecipeParsed event, which can be used as an alternative to anonymous functions.
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r-- | lib/bb/event.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index 8f0a1961d..86b566feb 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -125,6 +125,13 @@ def getName(e): class ConfigParsed(Event): """Configuration Parsing Complete""" +class RecipeParsed(Event): + """ Recipe Parsing Complete """ + + def __init__(self, fn, d): + self.fn = fn + Event.__init__(self, d) + class StampUpdate(Event): """Trigger for any adjustment of the stamp files to happen""" |