Ignore:
Timestamp:
29 May 2011, 10:19:58 (13 years ago)
Author:
Henrik Bettermann
Message:

Use the message output of CertificateContainer?.addCertificate in CertificateProcessor?.addEntry and finally in BatchProcessor?.doImport to notify that the import failed. This can maybe merged with CertificateProcessor?.entryExists?!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/batching.py

    r5009 r6219  
    186186    def addEntry(self, obj, row, site):
    187187        parent = self.getParent(row, site)
    188         parent.addCertificate(obj)
    189         return
     188        message = parent.addCertificate(obj)
     189        if not message == 'Certificate added.':
     190            return False
     191        return True
    190192
    191193    def delEntry(self, row, site):
Note: See TracChangeset for help on using the changeset viewer.