From 5ea85d029c0a273c4576bbbc1e352e498f1c8db8 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 2 Nov 2022 12:42:13 +0100 Subject: [PATCH] Changing output --- lib/pp_admintools/app/mirror_ldap.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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() -- 2.39.5