Ignore:
Timestamp:
20 May 2011, 09:38:41 (13 years ago)
Author:
Henrik Bettermann
Message:

Change class attribute from list of dicts to dict. This makes configuration less error-prone.

File:
1 edited

Legend:

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

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