From 4d5d298ee141e75f38500351c0a1fba6e767f78e Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 6 May 2020 11:47:05 -0400 Subject: [PATCH] Update super() call for get_filters() --- netbox/utilities/filters.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/netbox/utilities/filters.py b/netbox/utilities/filters.py index f56a83d38..f628ca917 100644 --- a/netbox/utilities/filters.py +++ b/netbox/utilities/filters.py @@ -210,9 +210,7 @@ class BaseFilterSet(django_filters.FilterSet): For specific filter types, new filters are created based on defined lookup expressions in the form `__` """ - # TODO: once 3.6 is the minimum required version of python, change this to a bare super() call - # We have to do it this way in py3.5 becuase of django_filters.FilterSet's use of a metaclass - filters = super(django_filters.FilterSet, cls).get_filters() + filters = super().get_filters() new_filters = {} for existing_filter_name, existing_filter in filters.items():