Ignore:
Timestamp:
2 Oct 2012, 08:24:05 (12 years ago)
Author:
Henrik Bettermann
Message:

Update fix_import_file.py.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/tools/fix_import_file.py

    r9194 r9270  
    206206        """
    207207        if len(value) == 7:
    208             return 'K' + value
     208            return 'M' + value
    209209        return value
    210210
     
    309309            number = int(value)
    310310        except ValueError:
    311             #import pdb; pdb.set_trace()
    312311            return 9999
    313312        if number < 14:
     
    418417    @classmethod
    419418    def nationality(self, value, row):
    420         if value == "nigeria":
     419        if value in ('nigeria', 'Nigeria'):
    421420            return "NG"
    422         if value == "niger":
     421        if value in ('niger', 'Niger'):
    423422            return "NE"
    424423        return value
Note: See TracChangeset for help on using the changeset viewer.