summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-07-19 21:45:03 -0400
committerRob Crittenden <rcritten@redhat.com>2011-07-19 21:45:03 -0400
commit7ce57e38c43b4a1f3e422a644760f94043058feb (patch)
tree681b4e54eccd6c54a556be426757537d5765f173 /ipalib/plugins
parentfd148541aa7689504ba6bd8aa502f6b020245ca2 (diff)
downloadfreeipa-7ce57e38c43b4a1f3e422a644760f94043058feb.zip
freeipa-7ce57e38c43b4a1f3e422a644760f94043058feb.tar.gz
freeipa-7ce57e38c43b4a1f3e422a644760f94043058feb.tar.xz
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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/hostgroup.py b/ipalib/plugins/hostgroup.py
index ef44a8b..24dac75 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