Last change
on this file since 17952 was
1756,
checked in by joachim, 18 years ago
|
New form import
added portal status message to main_template
|
-
Property svn:keywords set to
Id
|
File size:
221 bytes
|
Line | |
---|
1 | ##parameters=key=None |
---|
2 | # $Id: get_csv_names.py 1756 2007-05-08 15:01:11Z joachim $ |
---|
3 | """ |
---|
4 | Return the sessions as an vocabulary |
---|
5 | |
---|
6 | """ |
---|
7 | files = context.waeup_tool.get_csv_filenames() |
---|
8 | if key is None: |
---|
9 | return [(f[:-4],f) for f in files] |
---|
10 | |
---|
11 | return files[files.index("%s.csv" % key)] |
---|
12 | |
---|
Note: See
TracBrowser for help on using the repository browser.