mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -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):
|
||||
if self.api.env.wait_for_attr:
|
||||
newentry = wait_for_value(ldap, dn, 'objectclass', 'mepOriginEntry')
|
||||
entry_from_entry(entry_attrs, newentry)
|
||||
entry_from_entry(entry_attrs, newentry)
|
||||
|
||||
return dn
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user