Changeset 6243 for main/waeup.sirp/trunk/src/waeup/sirp/university
- Timestamp:
- 30 May 2011, 07:15:54 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/university
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/batching.py
r6219 r6243 186 186 def addEntry(self, obj, row, site): 187 187 parent = self.getParent(row, site) 188 message = parent.addCertificate(obj) 189 if not message == 'Certificate added.': 190 return False 191 return True 188 parent.addCertificate(obj) 189 return 192 190 193 191 def delEntry(self, row, site): -
main/waeup.sirp/trunk/src/waeup/sirp/university/certificatecontainer.py
r6242 r6243 65 65 if len(entries) > 0: 66 66 raise DuplicationError( 67 'Certificate exists already elsewhere ', entries)67 'Certificate exists already elsewhere.', entries) 68 68 else: 69 69 # No catalog, then this addition won't do harm to anything.
Note: See TracChangeset for help on using the changeset viewer.