Changeset 36003
- Timestamp:
- 2022-01-14T14:28:08+13:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/errata-categories/escwikipedia.py
r35872 r36003 222 222 country_year_title = country_year_rec.get("Title") 223 223 country_year_suffix = re.sub(r"\s+","",country_year_title) 224 new_country_year_key = country_year + country_year_suffix[0:3] 224 new_country_year_key = country_year + country_year_suffix[0:3].upper() 225 225 country_year_recs[new_country_year_key] = country_year_rec 226 226 227 227 this_country_year_title = this_country_year_rec.get("Title") 228 228 this_country_year_suffix = re.sub(r"\s+","",this_country_year_title) 229 country_year = country_year + this_country_year_suffix[0:3] 229 country_year = country_year + this_country_year_suffix[0:3].upper() 230 230 231 231 country_year_recs[country_year] = this_country_year_rec
Note:
See TracChangeset
for help on using the changeset viewer.