mirror of
https://github.com/YosysHQ/sby.git
synced 2025-07-12 01:26:42 +00:00
Print a message when SBY is waiting for a config on stdin
This commit is contained in:
parent
fd381ade05
commit
cba77083c3
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue