]> Frank Brehm's Git Trees - pixelpark/ldap-migration.git/commitdiff
Fixing lib/ldap_migration/__init__.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 5 Mar 2021 16:17:50 +0000 (17:17 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 5 Mar 2021 16:17:50 +0000 (17:17 +0100)
lib/ldap_migration/__init__.py

index 18248e88e8bbc80c6e956730f25e4ee57b799ee4..8359d84963f99b6eb9479ce6ba274a2355474a9b 100644 (file)
@@ -1620,7 +1620,7 @@ class LDAPMigrationApplication(BaseApplication):
                         msg += "on target LDAP server."
                         msg = msg.format(oc=src_oc_name, dn=src_dn)
                         LOG.debug(msg)
-                    self.unknown_objectclasses.add(oc)
+                    self.unknown_objectclasses.add(src_oc_name)
                     continue
                 tgt_oc_name = self.object_classes.real_key(src_oc_name)
                 objectclasses_to_add.append(tgt_oc_name)