Changeset 3955 for waeup/branches/ulif-rewrite
- Timestamp:
- 9 Feb 2009, 22:18:43 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/app.py
r3930 r3955 19 19 20 20 def setup(self): 21 self ["students"]= getUtility(IStudentContainer)22 self ["hostels"]= getUtility(IHostelContainer)21 self.students = getUtility(IStudentContainer) 22 self.hostels = getUtility(IHostelContainer) 23 23 self.faculties = getUtility(IFacultyContainer) 24 24 … … 28 28 if name == 'faculties': 29 29 return self.faculties 30 elif name == 'hostels': 31 return self.hostels 32 elif name == 'students': 33 return self.students 30 34 return None 31 35
Note: See TracChangeset for help on using the changeset viewer.