diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-08-09 13:52:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-16 11:19:16 +0100 |
commit | ed81b0856b4a3892b53d39871eaaa6273390ea75 (patch) | |
tree | d6b746af60fea3d012eb1d8589d01736fa540cfd /lib/bb/event.py | |
parent | 15c3db1cffdffd85641c6b12e77f19ce7a553472 (diff) | |
download | bitbake-ed81b0856b4a3892b53d39871eaaa6273390ea75.tar.gz |
taskdata: report close matches with NoProvider errors
Assuming there is no known reason why an item is not provided, show
close matches on the assumption that it might have been a typo or
other mistake.
Signed-off-by: Paul Eggleton <paul.eggleton@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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index 9c134eed0..ba25d38d8 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -341,12 +341,13 @@ class DiskFull(Event): class NoProvider(Event): """No Provider for an Event""" - def __init__(self, item, runtime=False, dependees=None, reasons=[]): + def __init__(self, item, runtime=False, dependees=None, reasons=[], close_matches=[]): Event.__init__(self) self._item = item self._runtime = runtime self._dependees = dependees self._reasons = reasons + self._close_matches = close_matches def getItem(self): return self._item |