Changeset 2282 for WAeUP_SRP/base/skins/waeup_default
- Timestamp:
- 27 Sep 2007, 16:52:41 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.