Fix PEP8 errors

This commit is contained in:
dansheps 2019-05-06 14:20:12 -05:00
parent fcd407d10b
commit 5b654e765f
2 changed files with 1 additions and 2 deletions

View File

@ -1809,8 +1809,6 @@ class DeviceFilterForm(BootstrapMixin, LocalConfigContextFilterForm, CustomField
) )
# #
# Bulk device component creation # Bulk device component creation
# #

View File

@ -217,6 +217,7 @@ class LocalConfigContextFilter(django_filters.FilterSet):
method='_local_context_data', method='_local_context_data',
label='Has local config context data', label='Has local config context data',
) )
def _local_context_data(self, queryset, name, value): def _local_context_data(self, queryset, name, value):
return queryset.exclude(local_context_data__isnull=value) return queryset.exclude(local_context_data__isnull=value)