Commits

Steffen Hoffmann committed f0d586d

TicketReminderPlugin: `get_permission_actions` is really meant to return a list.

  • Participants
  • Parent commits 859ab23

Comments (0)

Files changed (1)

ticketreminder/api.py

     def get_permission_actions(self):
         """Return a list of actions defined by this component."""
 
-        yield 'TICKET_REMINDER_VIEW'
-        yield 'TICKET_REMINDER_MODIFY'
+        actions = ['TICKET_REMINDER_VIEW', 'TICKET_REMINDER_MODIFY']
+        return actions
 
     # ITicketChangeListener methods