Ignore:
Timestamp:
20 May 2011, 11:02:42 (13 years ago)
Author:
uli
Message:

Retrieve title from role, not from arbitrary dicts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/faculty.py

    r6160 r6162  
    1616    @property       # Make this method read_only and looking like an attr.
    1717    def local_roles(cls):
    18         return {
    19             'waeup.local.DepartmentOfficer':'Department Officer',
    20             }
     18        return ['waeup.local.DepartmentOfficer']
    2119
    2220    def __init__(self,
Note: See TracChangeset for help on using the changeset viewer.