From: Frank Brehm Date: Thu, 28 Oct 2021 16:08:07 +0000 (+0200) Subject: Changing debug output. X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=a1e5b19f5442645094398b87181ef96b839b42db;p=pixelpark%2Fldap-migration.git Changing debug output. --- diff --git a/lib/ldap_migration/__init__.py b/lib/ldap_migration/__init__.py index 28ca38e..e4e301b 100644 --- a/lib/ldap_migration/__init__.py +++ b/lib/ldap_migration/__init__.py @@ -2256,10 +2256,12 @@ class LDAPMigrationApplication(BaseApplication): except LDAPException as e: msg = "Modifying NOT successfull - {c}: {e}\n" msg += "Source attributes:\n{sattr}\n" + msg += "Target attributes:\n{tattr}\n" msg += "Changes:\n{ch}" msg = msg.format( c=e.__class__.__name__, e=e, - sattr=pp(src_entry['attributes']), ch=pp(changes)) + sattr=pp(src_entry['attributes']), + tattr=pp(tgt_entry['attributes']), ch=pp(changes)) raise WriteLDAPItemError(msg) if mod_status: LOG.debug("Modifying successfull.")