bitbake: bitbake/event.py: UIhandler filter should work without a mask

The default for the mask will be * (all the handlers)

(Bitbake rev: 4c95e5f46cf2a656100bbf5a0e5a09d506abf9b9)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Cristiana Voicu 2013-08-27 11:00:33 +03:00 committed by Richard Purdie
parent a552fdceeb
commit 8d134e999e
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class UIEventFilter(object):
return True
return False
eid = str(event.__class__)[8:-2]
if eid not in self.eventmask:
if self.eventmask and eid not in self.eventmask:
return False
return True