diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-06-30 23:02:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 16:59:15 +0100 |
commit | 22c8600b885faf841795b872d82f68dfb644a26e (patch) | |
tree | 4fd49673fc6e182a05c0e76a78a8acb098160641 /lib/bb/event.py | |
parent | c515b76c3a27d57d5ae8dddf15cc836811b24ee1 (diff) | |
download | bitbake-contrib-22c8600b885faf841795b872d82f68dfb644a26e.tar.gz |
command|cooker|event: add findConfigFilePath command
This takes the name of a .conf file and returns the full path to it
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r-- | lib/bb/event.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index 7d47edb9e..7c49d464d 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -399,6 +399,14 @@ class ConfigFilesFound(Event): self._variable = variable self._values = values +class ConfigFilePathFound(Event): + """ + Event when a path for a config file has been found + """ + def __init__(self, path): + Event.__init__(self) + self._path = path + class MsgBase(Event): """Base class for messages""" |