Changeset 2704 for WAeUP_SRP/base
- Timestamp:
- 18 Nov 2007, 12:35:55 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r2703 r2704 1792 1792 return em 1793 1793 for item in items: 1794 #import pdb;pdb.set_trace() 1794 #import pdb;pdb.set_trace() 1795 1795 item = dict((k.strip(),l.strip()) for (k,l) in item.items()) 1796 1796 if start: … … 1825 1825 error_string = "" 1826 1826 total += 1 1827 error_count = 0 1827 1828 for k in import_keys: 1828 1829 if not validators[k](ds,mode=mode): 1829 error_string += " %s : %s" % (k, 1830 if error_count: 1831 error_string += ' ++ ' 1832 error_string += "%s: %s" % (k, 1830 1833 self.translation_service(ds.getError(k), 1831 1834 ds.getErrorMapping(k))) 1835 error_count += 1 1832 1836 if not error_string: 1833 1837 temp_item = item.copy()
Note: See TracChangeset for help on using the changeset viewer.