2
0
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:
occheung 2024-11-18 16:04:44 +08:00
parent 6251e73459
commit 90764b04f9

View File

@ -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, "