From 77bb4b517769f7707514b0f7e3da5762ff0f1cc4 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Mon, 28 Jan 2013 14:55:20 +0100 Subject: Pylint cleanup. Add more dynamic attribute info to IPATypeChecker in make-lint. Remove unnecessary pylint comments. Fix false positivies introduced by Pylint 0.26. https://fedorahosted.org/freeipa/ticket/3379 --- ipalib/plugins/dns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib/plugins') diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index ae72f305..c329c100 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -630,7 +630,7 @@ class DNSRecord(Str): return super(DNSRecord, self)._convert_scalar(value, index) def normalize(self, value): - if self.normalizedns: #pylint: disable=E1101 + if self.normalizedns: if isinstance(value, (tuple, list)): value = tuple( self._normalize_parts(v) for v in value \ @@ -667,7 +667,7 @@ class DNSRecord(Str): return value def _rule_validatedns(self, _, value): - if not self.validatedns: #pylint: disable=E1101 + if not self.validatedns: return if value is None: -- cgit