- Timestamp:
- 23 Feb 2008, 08:48:16 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r3198 r3201 1432 1432 msg = 'import_mode must be in heading' 1433 1433 return msg 1434 1434 1435 1435 import_keys = [k.strip() for k in attrs if not (k.strip().startswith('ignore') 1436 1436 or k.strip() in info.keys())] … … 1486 1486 error_string = "" 1487 1487 total += 1 1488 error_count = 01488 #error_count = 0 1489 1489 import_mode = item.get('import_mode','edit') 1490 1490 import_method = getattr(importer, '%(import_mode)s' % vars(),None ) … … 1496 1496 continue 1497 1497 if not importer.validators[k](ds,mode=import_mode): 1498 if error_count:1499 1500 1498 #if error_count: 1499 error_string += ' ++ ' 1500 error_string += "%s: %s" % (k,self.translation_service(ds.getError(k), 1501 1501 ds.getErrorMapping(k))) 1502 1502 #error_count += 1 1503 1503 if error_string: 1504 1504 error = error_string
Note: See TracChangeset for help on using the changeset viewer.