Changeset 3018
- Timestamp:
- 13 Jan 2008, 09:35:17 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTables.py
r3017 r3018 95 95 for key in fields: 96 96 v = getattr(record, key, None) 97 v_dump = ''97 v_dump = v 98 98 if key == 'sex': 99 99 if v == True: 100 100 v_dump = 'F' 101 elif key== False:101 elif v == False: 102 102 v_dump = 'M' 103 103 d[key] = v_dump
Note: See TracChangeset for help on using the changeset viewer.