Changeset 2187
- Timestamp:
- 7 Sep 2007, 15:15:36 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r2185 r2187 492 492 for k,v in voc.items(): 493 493 parts = v.split(' / ') 494 if len(parts) != 2: 494 if len(parts) == 1: 495 state = parts[0].lower() 496 lga = "" 497 elif len(parts) == 2: 498 state = parts[0].lower() 499 lga = "_".join(re.split('\W+',parts[1].lower())) 500 else: 495 501 continue 496 state = parts[0].lower()497 lga = "_".join(re.split('\W+',parts[1].lower()))498 502 if state not in states: 499 503 states.append(state) 500 lgas.append(lga) 504 if lga not in lgas: 505 lgas.append(lga) 501 506 d[k] = v 502 507 -
WAeUP_SRP/trunk/profiles/default/vocabularies/cos.xml
r2117 r2187 7 7 <property name="acl_write_roles">Manager</property> 8 8 9 <item key="" msgid="">N/A</item> 9 10 <item key="None" msgid=""></item> 10 11 <item key="BSCANA" msgid="">B.SC (ANATOMY)</item>
Note: See TracChangeset for help on using the changeset viewer.