Merge pull request #101 from bootsa/master

Minor Python3 fix
This commit is contained in:
Artur Barseghyan 2017-12-11 11:19:31 +01:00 committed by GitHub
commit e59fd11c7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -470,7 +470,7 @@ class BasePluginModelAdmin(admin.ModelAdmin):
groups_action = form.cleaned_data.pop('groups_action')
cleaned_data = dict(
(key, val)
for (key, val) in form.cleaned_data.iteritems()
for (key, val) in form.cleaned_data.items()
if val is not None
)