Changeset 9270 for main/waeup.kofa/trunk/tools/fix_import_file.py
- Timestamp:
- 2 Oct 2012, 08:24:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/tools/fix_import_file.py
r9194 r9270 206 206 """ 207 207 if len(value) == 7: 208 return ' K' + value208 return 'M' + value 209 209 return value 210 210 … … 309 309 number = int(value) 310 310 except ValueError: 311 #import pdb; pdb.set_trace()312 311 return 9999 313 312 if number < 14: … … 418 417 @classmethod 419 418 def nationality(self, value, row): 420 if value == "nigeria":419 if value in ('nigeria', 'Nigeria'): 421 420 return "NG" 422 if value == "niger":421 if value in ('niger', 'Niger'): 423 422 return "NE" 424 423 return value
Note: See TracChangeset for help on using the changeset viewer.