Changeset 1747 for WAeUP_SRP/trunk/skins
- Timestamp:
- 7 May 2007, 20:56:24 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/sessions_voc.py
r1736 r1747 6 6 """ 7 7 if key is None: 8 l = [(' unknown','unknown')]8 l = [('xx','unknown')] 9 9 for y in range(1998,2008): 10 10 l.append( ('%s' % str(y)[-2:],'%4d/%4d' % (y,y+1))) … … 12 12 13 13 if len(key) != 2: 14 return "invalid Session %s" % key14 return 'unknown' 15 15 try: 16 16 y = int(key) 17 17 except: 18 return "invalid Session %s" % key18 return 'unknown' 19 19 if y < 90: 20 20 cent = 2000
Note: See TracChangeset for help on using the changeset viewer.