Ignore:
Timestamp:
11 Feb 2012, 07:09:57 (13 years ago)
Author:
Henrik Bettermann
Message:

Add converter for entry_mode.

File:
1 edited

Legend:

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

    r7628 r7632  
    4848    'current_session': 'session',
    4949    'session_id': 'session',
     50    'entry_mode': 'mode',
    5051    'reg_state': 'reg_state',
    5152    'password': 'password',
     
    259260
    260261    @classmethod
     262    def mode(self, value):
     263        if value == "transfer_fulltime":
     264            return "transfer_ft"
     265        return value
     266
     267    @classmethod
    261268    def password(self, value):
    262269        if value == "not set":
Note: See TracChangeset for help on using the changeset viewer.