Ignore:
Timestamp:
15 Jun 2011, 12:47:13 (14 years ago)
Author:
uli
Message:

Make local_roles a simple static class attribute. It is not computed
dynamically.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/root.py

    r6348 r6370  
    3939    grok.implements(IApplicantsRoot)
    4040
     41    local_roles = ['waeup.ApplicationsOfficer']
     42
    4143    @property
    4244    def logger(self):
     
    7476        return logger
    7577
    76     @property
    77     def local_roles(cls):
    78         return ['waeup.ApplicationsOfficer']
    7978
    8079class ApplicantsPlugin(grok.GlobalUtility):
Note: See TracChangeset for help on using the changeset viewer.