From 7ce57e38c43b4a1f3e422a644760f94043058feb Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 19 Jul 2011 21:45:03 -0400 Subject: Only call entry_from_entry() after waiting for the new entry. This fixes an indentation problem. --- ipalib/plugins/hostgroup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins') diff --git a/ipalib/plugins/hostgroup.py b/ipalib/plugins/hostgroup.py index ef44a8b9b..24dac7517 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 -- cgit