Fix some PEP8 issues

This commit is contained in:
Mark 2017-04-02 01:40:47 +02:00
parent 433f9119d2
commit 664a2e1e7f
3 changed files with 3 additions and 0 deletions

View File

@ -490,6 +490,7 @@ class HistoryLogFilter(DeviceComponentFilterSet):
model = HistoryLog
fields = ['role']
class ConsoleConnectionFilter(django_filters.FilterSet):
site = django_filters.CharFilter(
method='filter_site',

View File

@ -505,6 +505,7 @@ class InterfaceConnectionTable(BaseTable):
model = Interface
fields = ('device_a', 'interface_a', 'device_b', 'interface_b')
#
# HistoryLog roles
#

View File

@ -51,6 +51,7 @@ def startswith(value, arg):
"""
return str(value).startswith(arg)
@register.filter()
def bettertitle(value):
"""