diff options
author | Jan Cholasta <jcholast@redhat.com> | 2011-04-07 16:53:52 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-04-13 15:58:45 +0200 |
commit | 1ac3ed2c271accc0776a3cc34fbe607acf62da17 (patch) | |
tree | bf1be818d135e75556e2b6864cb77e663bf9369d /ipalib/parameters.py | |
parent | fb329bc8b0dcde54b113fd0cc4b03ab9c11febd0 (diff) | |
download | freeipa-1ac3ed2c271accc0776a3cc34fbe607acf62da17.tar.gz freeipa-1ac3ed2c271accc0776a3cc34fbe607acf62da17.tar.xz freeipa-1ac3ed2c271accc0776a3cc34fbe607acf62da17.zip |
Fix lint false positives.
Diffstat (limited to 'ipalib/parameters.py')
-rw-r--r-- | ipalib/parameters.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipalib/parameters.py b/ipalib/parameters.py index 47d532227..ef62aabf7 100644 --- a/ipalib/parameters.py +++ b/ipalib/parameters.py @@ -479,7 +479,7 @@ class Param(ReadOnly): else: value = self.convert(self.normalize(value)) if hasattr(self, 'env'): - self.validate(value, self.env.context) + self.validate(value, self.env.context) #pylint: disable=E1101 else: self.validate(value) return value @@ -1007,6 +1007,7 @@ class Int(Number): ) def __init__(self, name, *rules, **kw): + #pylint: disable=E1003 super(Number, self).__init__(name, *rules, **kw) if (self.minvalue > self.maxvalue) and (self.minvalue is not None and self.maxvalue is not None): @@ -1078,6 +1079,7 @@ class Float(Number): ) def __init__(self, name, *rules, **kw): + #pylint: disable=E1003 super(Number, self).__init__(name, *rules, **kw) if (self.minvalue > self.maxvalue) and (self.minvalue is not None and self.maxvalue is not None): |