forked from M-Labs/artiq
language: Clarify error message for unprocessed arguments
"Unexpected argument(s)" would be another less ambiguous, shorter phrasing.
This commit is contained in:
parent
d45f9b6950
commit
0b3c232819
|
@ -229,7 +229,7 @@ class ProcessArgumentManager:
|
||||||
unprocessed = set(self.unprocessed_arguments.keys()) -\
|
unprocessed = set(self.unprocessed_arguments.keys()) -\
|
||||||
self._processed_arguments
|
self._processed_arguments
|
||||||
if unprocessed:
|
if unprocessed:
|
||||||
raise AttributeError("Invalid argument(s): " +
|
raise AttributeError("Supplied argument(s) not queried in experiment: " +
|
||||||
", ".join(unprocessed))
|
", ".join(unprocessed))
|
||||||
|
|
||||||
class HasEnvironment:
|
class HasEnvironment:
|
||||||
|
|
Loading…
Reference in New Issue