mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Fixing vault-add-member to be compatible with py3
Changing from iteritems() to values() in order to be compatible with python3. https://pagure.io/freeipa/issue/7373 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
e1e3218270
commit
c8ba9eb0e6
@ -238,7 +238,7 @@ class VaultModMember(LDAPModMember):
|
||||
return super(VaultModMember, self).get_member_dns(**options)
|
||||
|
||||
def post_callback(self, ldap, completed, failed, dn, entry_attrs, *keys, **options):
|
||||
for fail in failed.itervalues():
|
||||
for fail in failed.values():
|
||||
fail['services'] = fail.pop('service', [])
|
||||
self.obj.get_container_attribute(entry_attrs, options)
|
||||
return completed, dn
|
||||
|
Loading…
Reference in New Issue
Block a user