Changeset 1584 for pykota/trunk/pykota/storages/ldapstorage.py
- Timestamp:
- 07/01/04 21:56:43 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r1582 r1584 22 22 # 23 23 # $Log$ 24 # Revision 1.72 2004/07/01 19:56:43 jalet 25 # Better dispatching of error messages 26 # 24 27 # Revision 1.71 2004/07/01 17:45:49 jalet 25 28 # Added code to handle the description field for printers … … 805 808 message = _("Unable to find an existing objectClass %s entry with %s=%s to attach pykotaAccount objectClass") % (where, self.info["userrdn"], user.Name) 806 809 if action.lower() == "warn" : 807 self.tool. logger.log_message("%s. A new entry will be created instead." % message, "warn")810 self.tool.printInfo("%s. A new entry will be created instead." % message, "warn") 808 811 else : # 'fail' or incorrect setting 809 812 raise PyKotaStorageError, "%s. Action aborted. Please check your configuration." % message … … 841 844 message = _("Unable to find an existing entry to attach pykotaGroup objectclass %s") % group.Name 842 845 if action.lower() == "warn" : 843 self.tool. logger.log_message("%s. A new entry will be created instead." % message, "warn")846 self.tool.printInfo("%s. A new entry will be created instead." % message, "warn") 844 847 else : # 'fail' or incorrect setting 845 848 raise PyKotaStorageError, "%s. Action aborted. Please check your configuration." % message