summaryrefslogtreecommitdiffstats
path: root/ipalib/text.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2011-05-05 13:39:54 +0200
committerMartin Kosek <mkosek@redhat.com>2011-05-11 16:50:01 +0200
commit3edb8ed5451772506489d4763d193730de1d022c (patch)
tree67a91189846b6b6b15065d1788640bac08983418 /ipalib/text.py
parentfceb579d6e95df9ba5a0efeaf56f76ff3b3b502e (diff)
downloadfreeipa-3edb8ed5451772506489d4763d193730de1d022c.tar.gz
freeipa-3edb8ed5451772506489d4763d193730de1d022c.tar.xz
freeipa-3edb8ed5451772506489d4763d193730de1d022c.zip
Fix regressions introduced by pylint false positive fixes.
ticket 1198
Diffstat (limited to 'ipalib/text.py')
-rw-r--r--ipalib/text.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/text.py b/ipalib/text.py
index af532db45..c14174843 100644
--- a/ipalib/text.py
+++ b/ipalib/text.py
@@ -138,7 +138,7 @@ class LazyText(object):
subclasses.
"""
- __slots__ = ('domain', 'localedir', 'key')
+ __slots__ = ('domain', 'localedir', 'key', 'args')
def __init__(self, domain=None, localedir=None):
"""
@@ -220,7 +220,7 @@ class Gettext(LazyText):
`NGettextFactory`.
"""
- __slots__ = ('msg', 'args')
+ __slots__ = ('msg')
def __init__(self, msg, domain=None, localedir=None):
super(Gettext, self).__init__(domain, localedir)
@@ -366,7 +366,7 @@ class NGettext(LazyText):
See `NGettextFactory` for additional details.
"""
- __slots__ = ('singular', 'plural', 'args')
+ __slots__ = ('singular', 'plural')
def __init__(self, singular, plural, domain=None, localedir=None):
super(NGettext, self).__init__(domain, localedir)