I suppose that just doing «NULL_EVENT = ([], [], ")» instead of all this D-Bus fuss didn't work?
Also, personally I'd change:
=====
if event is None:
continue
event._make_dbus_sendable()
=====
to:
=====
if event:
event._make_dbus_sendable()
=====
But this is just nitpicking and it's up to you :).
Looks good.
I suppose that just doing «NULL_EVENT = ([], [], ")» instead of all this D-Bus fuss didn't work?
Also, personally I'd change: make_dbus_ sendable( ) _make_dbus_ sendable( )
=====
if event is None:
continue
event._
=====
to:
=====
if event:
event.
=====
But this is just nitpicking and it's up to you :).