From: Frank Brehm Date: Wed, 2 Nov 2022 11:42:13 +0000 (+0100) Subject: Changing output X-Git-Tag: 0.7.0^2~1^2~6 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=5ea85d029c0a273c4576bbbc1e352e498f1c8db8;p=pixelpark%2Fpp-admin-tools.git Changing output --- diff --git a/lib/pp_admintools/app/mirror_ldap.py b/lib/pp_admintools/app/mirror_ldap.py index 1d341b2..9197965 100644 --- a/lib/pp_admintools/app/mirror_ldap.py +++ b/lib/pp_admintools/app/mirror_ldap.py @@ -268,6 +268,16 @@ class MirrorLdapApplication(BaseLdapApplication): self.clean_tgt_struct_entries() self.mirror_struct_entries() self.mirror_non_struct_entries() + msg = ngettext( + "{:>5} entry deleted.", "{:>5} entries deleted.", self.total_deleted).format( + self.total_deleted) + msg += ' ' + ngettext( + "{:>5} entry updated.", "{:>5} entries updated.", self.total_updated).format( + self.total_updated) + msg += ' ' + ngettext( + "{:>5} entry created.", "{:>5} entries created.", self.total_created).format( + self.total_created) + LOG.info(msg) if not self.quiet: self.empty_line()