summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r--ipalib/frontend.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index a880adf6..f6626973 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -134,8 +134,9 @@ class Param(plugable.ReadOnly):
kw.update(kw_from_spec)
default = dict(self.__default)
if not set(default).issuperset(kw):
+ extra = sorted(set(kw) - set(default))
raise TypeError(
- 'no such kwargs: %r' % list(set(kw) - set(default))
+ 'Param.__init__() takes no such kwargs: %s' % ', '.join(extra)
)
default.update(kw)
self.__kw = default