summaryrefslogtreecommitdiffstats
path: root/pym/portage/cache/mappings.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/cache/mappings.py')
-rw-r--r--pym/portage/cache/mappings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/cache/mappings.py b/pym/portage/cache/mappings.py
index 75f97d6ae..96e9e553b 100644
--- a/pym/portage/cache/mappings.py
+++ b/pym/portage/cache/mappings.py
@@ -147,7 +147,7 @@ def slot_dict_class(keys, prefix="_val_"):
if len(args) > 1:
raise TypeError(
"expected at most 1 positional argument, got " + \
- repr(1 + len(args)))
+ repr(len(args)))
if args:
self.update(args[0])