From 3edb8ed5451772506489d4763d193730de1d022c Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Thu, 5 May 2011 13:39:54 +0200 Subject: Fix regressions introduced by pylint false positive fixes. ticket 1198 --- ipalib/text.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ipalib/text.py') 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) -- cgit