Commit 14f32ff5 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'flake8_f401_webapp_dns' into 'master'

flake8_f401_webapp_dns

See merge request noc/noc!1970
parents 1170446f 81c84513
......@@ -2,12 +2,12 @@
# ---------------------------------------------------------------------
# dns.dnsserver application
# ---------------------------------------------------------------------
# Copyright (C) 2007-2016 The NOC Project
# Copyright (C) 2007-2019 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
# NOC modules
from noc.lib.app.extmodelapplication import ExtModelApplication, view
from noc.lib.app.extmodelapplication import ExtModelApplication
from noc.dns.models.dnsserver import DNSServer
from noc.core.translation import ugettext as _
......
......@@ -2,12 +2,12 @@
# ---------------------------------------------------------------------
# dns.dnszoneprofile application
# ---------------------------------------------------------------------
# Copyright (C) 2007-2016 The NOC Project
# Copyright (C) 2007-2019 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
# NOC modules
from noc.lib.app.extmodelapplication import ExtModelApplication, view
from noc.lib.app.extmodelapplication import ExtModelApplication
from noc.dns.models.dnszoneprofile import DNSZoneProfile
from noc.core.translation import ugettext as _
......@@ -25,4 +25,3 @@ class DNSZoneProfileApplication(ExtModelApplication):
def field_slaveslabel(self, o):
return u", ".join([s.name for s in o.slaves.all()])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment