mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
Merge pull request #4040 from ryanpetrello/ldap-py3-bug
fix a py3 compat problem in an LDAP migration Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -22,7 +22,7 @@ def fill_ldap_group_type_params(apps, schema_editor):
|
|||||||
modified=now())
|
modified=now())
|
||||||
|
|
||||||
init_attrs = set(inspect.getargspec(group_type.__init__).args[1:])
|
init_attrs = set(inspect.getargspec(group_type.__init__).args[1:])
|
||||||
for k in group_type_params.keys():
|
for k in list(group_type_params.keys()):
|
||||||
if k not in init_attrs:
|
if k not in init_attrs:
|
||||||
del group_type_params[k]
|
del group_type_params[k]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user