Changeset 2837 for WAeUP_SRP/base/skins
- Timestamp:
- 1 Dec 2007, 12:42:28 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/getStudentFolderInfo.py
r2831 r2837 11 11 """ 12 12 return Info about the current Student 13 try: 14 from Products.zdb import set_trace 15 except: 16 def set_trace(): 17 pass 13 18 """ 14 19 import DateTime … … 126 131 row = {} 127 132 row['id'] = subobject.getId() 128 row['title'] = subobject.Title 133 row['title'] = subobject.Title() 129 134 url = row['url'] = subobject.absolute_url() 130 135 row['type'] = subobject.portal_type … … 142 147 items.append(row) 143 148 #logger.info("listtime %f" % (DateTime.DateTime().timeTime() - starttime)) 149 #set_trace() 144 150 items.sort(cmp=lambda x,y: cmp( x['title'],y['title'])) 145 151 info['items'] = items
Note: See TracChangeset for help on using the changeset viewer.