def decorate_set_on_listener(event_name, params):

    def add_annotation(function):
        function._event_listener = {}
        function._event_listener['eventName'] = event_name
        function._event_listener['prototype'] = params
        return function

    return add_annotation
Carves up a mime-type and returns a tuple of the
dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/decorate_set_on_listener--crossover with--dataset/ETHPy150Open mozilla/inventory/vendor-local/src/mimeparse/mimeparse.py/parse_mime_type