Changeset 2282 for WAeUP_SRP/base/skins
- Timestamp:
- 27 Sep 2007, 16:52:41 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_academics/getFacultiesInfo.py
r2273 r2282 43 43 except AttributeError: 44 44 continue 45 46 45 items.sort(cmp_id) 47 46 info['items'] = items -
WAeUP_SRP/base/skins/waeup_default/get_csv_names.py
r1756 r2282 7 7 files = context.waeup_tool.get_csv_filenames() 8 8 if key is None: 9 return [(f[:-4],f) for f in files] 9 l = [(f[:-4],f) for f in files] 10 l.sort(cmp=lambda x,y: cmp(x[0].lower(), y[0].lower())) 11 return l 10 12 11 13 return files[files.index("%s.csv" % key)]
Note: See TracChangeset for help on using the changeset viewer.