classes: Drop Handled/NotHandled eventhandler keywords, they don't do anything

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie committed 2010-12-31 09:51:18 +00:00
1 parent b75330e99b
commit 33f67ee2fc
4 files changed
+10 -19

No files matched your search

+3 -3
View File
@@ -367,14 +367,14 @@ def tinder_do_tinder_report(event):
addhandler tinderclient_eventhandler
python tinderclient_eventhandler() {
from bb import note, error, data
from bb.event import NotHandled, getName
from bb.event import getName
if e.data is None or getName(e) == "MsgNote":
return NotHandled
return
do_tinder_report = data.getVar('TINDER_REPORT', e.data, True)
if do_tinder_report and do_tinder_report == "1":
tinder_do_tinder_report(e)
return NotHandled
return
}