Changeset 12260 for main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Timestamp:
- 19 Dec 2014, 08:11:12 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/batching.py
r12256 r12260 119 119 errs.append(('class_name','wrong processor')) 120 120 document_id = row.get('document_id', None) 121 if ' ' in document_id:122 errs.append(('document_id','must not contain spaces'))123 121 return errs, inv_errs, conv_dict 124 122 -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/interfaces.py
r12256 r12260 19 19 from zope import schema 20 20 from waeup.ikoba.interfaces import ( 21 IIkobaObject, 21 IIkobaObject, validate_id, 22 22 ContextualDictSourceFactoryBase) 23 23 from waeup.ikoba.interfaces import MessageFactory as _ … … 52 52 title = _(u'Document Id'), 53 53 required = False, 54 constraint=validate_id, 54 55 ) 55 56
Note: See TracChangeset for help on using the changeset viewer.