- Timestamp:
- 10 Sep 2012, 11:05:07 (12 years ago)
- Location:
- main/waeup.kofa/branches/uli-async-update
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-async-update
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/interfaces.py
r9111 r9169 80 80 SimpleTerm(value, value, title) for title, value in terms]) 81 81 82 def year_range():83 curr_year = datetime.now().year84 return range(curr_year - 4, curr_year + 5)85 86 82 def academic_sessions(): 87 83 curr_year = datetime.now().year 88 year_range = range( curr_year - 10, curr_year + 2)84 year_range = range(1995, curr_year + 2) 89 85 return [('%s/%s' % (year,year+1), year) for year in year_range] 90 86 … … 249 245 """ 250 246 251 def sendCredentials(user, password, login_url, msg):247 def sendCredentials(user, password, url_info, msg): 252 248 """Send credentials as email. 253 249 … … 656 652 ) 657 653 658 def get Files(sort='name'):654 def getPendingFiles(sort='name'): 659 655 """Get a list of files stored in `storage` sorted by basename. 660 656 """ 657 658 def getFinishedFiles(): 659 """Get a list of files stored in `finished` subfolder of `storage`. 660 """ 661 661 662 def setStoragePath(path, move=False, overwrite=False): 662 663 """Set the path where to store files.
Note: See TracChangeset for help on using the changeset viewer.