mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Only call entry_from_entry() after waiting for the new entry.
This fixes an indentation problem.
This commit is contained in:
parent
fd148541aa
commit
7ce57e38c4
@ -101,7 +101,7 @@ class hostgroup_add(LDAPCreate):
|
|||||||
def post_callback(self, ldap, dn, entry_attrs, *keys, **options):
|
def post_callback(self, ldap, dn, entry_attrs, *keys, **options):
|
||||||
if self.api.env.wait_for_attr:
|
if self.api.env.wait_for_attr:
|
||||||
newentry = wait_for_value(ldap, dn, 'objectclass', 'mepOriginEntry')
|
newentry = wait_for_value(ldap, dn, 'objectclass', 'mepOriginEntry')
|
||||||
entry_from_entry(entry_attrs, newentry)
|
entry_from_entry(entry_attrs, newentry)
|
||||||
|
|
||||||
return dn
|
return dn
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user