mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-29 05:03:34 +08:00
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()) -\
|
||||
self._processed_arguments
|
||||
if unprocessed:
|
||||
raise AttributeError("Invalid argument(s): " +
|
||||
raise AttributeError("Supplied argument(s) not queried in experiment: " +
|
||||
", ".join(unprocessed))
|
||||
|
||||
class HasEnvironment:
|
||||
|
Loading…
Reference in New Issue
Block a user