summaryrefslogtreecommitdiffstats
path: root/ipalib/text.py
diff options
context:
space:
mode:
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)