# Path: cardinal/decorators.py
# def event(triggers):
#     if isinstance(triggers, str):
#         triggers = [triggers]
# 
#     if not isinstance(triggers, list):
#         raise TypeError("Event must be a trigger string or list of triggers")
# 
#     def wrap(f):
#         f.events = triggers
#         return f
# 
#     return wrap


from cardinal.decorators import event


class MultipleEventCallbacksOneFailsPlugin:
    @event('foo')
    def A(self, cardinal):
        pass


# Path: cardinal/decorators.py
# def event(triggers):
#     if isinstance(triggers, str):
#         triggers = [triggers]
# 
#     if not isinstance(triggers, list):
#         raise TypeError("Event must be a trigger string or list of triggers")
# 
#     def wrap(f):
#         f.events = triggers
#         return f
# 
#     return wrap


# Path: cardinal/fixtures/fake_plugins/multiple_event_callbacks_one_fails/plugin.py
from cardinal.decorators import event



class MultipleEventCallbacksOneFailsPlugin:
    @event('foo')
    def A(self, cardinal):
        pass


    @event('foo')