Changeset 839
- Timestamp:
- 06/14/07 16:14:10 (1 year ago)
- Files:
-
- PleiadesEntity/trunk/Extensions/loader.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
PleiadesEntity/trunk/Extensions/loader.py
r746 r839 258 258 id = ptool.normalizeString(transliteration) 259 259 260 if type not in ['geographic', 'ethnic', 'false' ]:261 raise EntityLoadError, "Invalid name type "260 if type not in ['geographic', 'ethnic', 'false', 'undefined']: 261 raise EntityLoadError, "Invalid name type = %s" % type 262 262 # false -> geographic 263 263 if type == 'false': type = 'geographic'
