forked from M-Labs/artiq
1
0
Fork 0

language: Clarify error message for unprocessed arguments

"Unexpected argument(s)" would be another less ambiguous,
shorter phrasing.
This commit is contained in:
David Nadlinger 2022-11-22 11:19:05 +00:00
parent d45f9b6950
commit 0b3c232819
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ class ProcessArgumentManager:
unprocessed = set(self.unprocessed_arguments.keys()) -\
self._processed_arguments
if unprocessed:
raise AttributeError("Invalid argument(s): " +
raise AttributeError("Supplied argument(s) not queried in experiment: " +
", ".join(unprocessed))
class HasEnvironment: