mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-16 04:28:17 -06:00
Fix PEP8 errors
This commit is contained in:
parent
fcd407d10b
commit
5b654e765f
@ -1809,8 +1809,6 @@ class DeviceFilterForm(BootstrapMixin, LocalConfigContextFilterForm, CustomField
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Bulk device component creation
|
||||
#
|
||||
|
@ -217,6 +217,7 @@ class LocalConfigContextFilter(django_filters.FilterSet):
|
||||
method='_local_context_data',
|
||||
label='Has local config context data',
|
||||
)
|
||||
|
||||
def _local_context_data(self, queryset, name, value):
|
||||
return queryset.exclude(local_context_data__isnull=value)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user