From: Claire Wolf Date: Thu, 2 Apr 2020 16:27:50 +0000 (+0200) Subject: Merge pull request #74 from mattvenn/master X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c92dff6edc50010df26236840a9a36a941b9dea;p=SymbiYosys.git Merge pull request #74 from mattvenn/master add --init-config option --- 1c92dff6edc50010df26236840a9a36a941b9dea diff --cc sbysrc/sby.py index 5d2873d,f17e842..4bf354f --- a/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()