mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-27 12:18:26 +08:00
both ... not -> neither ... nor
This commit is contained in:
parent
6251e73459
commit
90764b04f9
@ -186,7 +186,7 @@ def main():
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
if retrieved_bins is None:
|
if retrieved_bins is None:
|
||||||
raise FileNotFoundError("both risc-v and zynq binaries not found")
|
raise FileNotFoundError("neither risc-v nor zynq binaries were found")
|
||||||
|
|
||||||
if len(retrieved_bins) > 1:
|
if len(retrieved_bins) > 1:
|
||||||
raise ValueError("both risc-v and zynq binaries were found, "
|
raise ValueError("both risc-v and zynq binaries were found, "
|
||||||
|
Loading…
Reference in New Issue
Block a user