]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: bitbake/event.py: UIhandler filter should work without a mask
authorCristiana Voicu <cristiana.voicu@intel.com>
Tue, 27 Aug 2013 08:00:33 +0000 (11:00 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Aug 2013 10:16:58 +0000 (11:16 +0100)
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>
bitbake/lib/bb/event.py

index 1169cbfb2bd095c57f4c8dfb66c46c5f80f75f3d..67cfceaf5356615992d94cbdfc2ff1ed54492f21 100644 (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