projects
/
SymbiYosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
e9af1a6
5eee219
)
Merge pull request #74 from mattvenn/master
author
Claire Wolf
<clifford@clifford.at>
Thu, 2 Apr 2020 16:27:50 +0000
(18:27 +0200)
committer
GitHub
<noreply@github.com>
Thu, 2 Apr 2020 16:27:50 +0000
(18:27 +0200)
add --init-config option
1
2
sbysrc/sby.py
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
sbysrc/sby.py
index 5d2873d9f132ec6eae295f8c22e9ff68fa63cba2,f17e8425a179243eb993fc6b56333632ca09d873..4bf354fc040d4a2088645c9012744a93481d23fb
---
1
/
sbysrc/sby.py
---
2
/
sbysrc/sby.py
+++ b/
sbysrc/sby.py
@@@
-119,10
-143,9
+143,9
@@@
early_logmsgs = list(
def early_log(workdir, msg):
tm = localtime()
- early_logmsgs.append("SBY
%2d:%02d:%02d [%s] %s" %
(tm.tm_hour, tm.tm_min, tm.tm_sec, workdir, msg))
+ early_logmsgs.append("SBY
{:2d}:{:02d}:{:02d} [{}] {}".format
(tm.tm_hour, tm.tm_min, tm.tm_sec, workdir, msg))
print(early_logmsgs[-1])
-
def read_sbyconfig(sbydata, taskname):
cfgdata = list()
tasklist = list()