1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

fix a py3 compat problem in an LDAP migration

This commit is contained in:
Ryan Petrello 2019-06-11 10:25:15 -04:00
parent adb768bed3
commit be8a30b9d9
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -22,7 +22,7 @@ def fill_ldap_group_type_params(apps, schema_editor):
modified=now())
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:
del group_type_params[k]