Changeset 3186
- Timestamp:
- 19 Feb 2008, 16:19:44 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r3185 r3186 1483 1483 ds.getErrorMapping(k))) 1484 1484 error_count += 1 1485 if item.has_key('sex'):1486 if item['sex']:1487 item['sex'] = 'F'1488 else:1489 item['sex'] = 'M'1490 1485 if error_string: 1491 1486 error = error_string … … 1504 1499 error = results[1] 1505 1500 mapping = results[2] 1501 if mapping.has_key('sex'): 1502 #import pdb;pdb.set_trace() 1503 if mapping['sex']: 1504 mapping['sex'] = 'F' 1505 else: 1506 mapping['sex'] = 'M' 1506 1507 data_string = ", ".join("%s: %s" % (k,v) for k,v in mapping.items()) 1507 1508 info['error'] = error
Note: See TracChangeset for help on using the changeset viewer.