Ignore:
Timestamp:
21 Sep 2012, 08:19:35 (12 years ago)
Author:
uli
Message:

Rollback r9209. Looks like multiple merges from trunk confuse svn when merging back into trunk.

Location:
main/waeup.kofa/branches/uli-zc-async
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-zc-async

  • main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/university/faculty.py

    r9209 r9211  
    3232    grok.implements(IFaculty, IFacultyAdd)
    3333
    34     local_roles = [
    35         'waeup.local.DepartmentManager',
    36         'waeup.local.ClearanceOfficer',
    37         'waeup.local.UGClearanceOfficer',
    38         'waeup.local.PGClearanceOfficer',
    39         'waeup.local.CourseAdviser100',
    40         'waeup.local.CourseAdviser200',
    41         'waeup.local.CourseAdviser300',
    42         'waeup.local.CourseAdviser400',
    43         'waeup.local.CourseAdviser500',
    44         'waeup.local.CourseAdviser600',
    45         ]
     34    @property       # Make this method read_only and looking like an attr.
     35    def local_roles(self):
     36        return ['waeup.local.DepartmentManager',
     37                'waeup.local.ClearanceOfficer',
     38                'waeup.local.CourseAdviser100',
     39                'waeup.local.CourseAdviser200',
     40                'waeup.local.CourseAdviser300',
     41                'waeup.local.CourseAdviser400',
     42                'waeup.local.CourseAdviser500',
     43                'waeup.local.CourseAdviser600',
     44                ]
    4645
    4746    def __init__(self,
Note: See TracChangeset for help on using the changeset viewer.