mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-12 08:28:16 +00:00
Print a message when SBY is waiting for a config on stdin
This commit is contained in:
parent
fd381ade05
commit
cba77083c3
|
@ -297,6 +297,8 @@ def read_sbyconfig(sbydata, taskname):
|
||||||
|
|
||||||
|
|
||||||
sbydata = list()
|
sbydata = list()
|
||||||
|
if sbyfile is None:
|
||||||
|
print("Reading .sby configuration from stdin:")
|
||||||
with (open(sbyfile, "r") if sbyfile is not None else sys.stdin) as f:
|
with (open(sbyfile, "r") if sbyfile is not None else sys.stdin) as f:
|
||||||
for line in f:
|
for line in f:
|
||||||
sbydata.append(line)
|
sbydata.append(line)
|
||||||
|
|
Loading…
Reference in a new issue