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
2010-12-30 18:40:32 +00:00
parent b75330e99b
commit 33f67ee2fc
4 changed files with 10 additions and 19 deletions

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
}