diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-07-19 21:45:03 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-07-19 21:45:03 -0400 |
commit | 7ce57e38c43b4a1f3e422a644760f94043058feb (patch) | |
tree | 681b4e54eccd6c54a556be426757537d5765f173 /ipalib/plugins | |
parent | fd148541aa7689504ba6bd8aa502f6b020245ca2 (diff) | |
download | freeipa-7ce57e38c43b4a1f3e422a644760f94043058feb.tar.gz freeipa-7ce57e38c43b4a1f3e422a644760f94043058feb.tar.xz freeipa-7ce57e38c43b4a1f3e422a644760f94043058feb.zip |
Only call entry_from_entry() after waiting for the new entry.
This fixes an indentation problem.
Diffstat (limited to 'ipalib/plugins')
-rw-r--r-- | ipalib/plugins/hostgroup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/hostgroup.py b/ipalib/plugins/hostgroup.py index ef44a8b9..24dac751 100644 --- a/ipalib/plugins/hostgroup.py +++ b/ipalib/plugins/hostgroup.py @@ -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 |