projects.py: Beautify logging ([] around iteration count)

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-10-23 13:09:58 +00:00
commit 4e6a237865

View file

@ -148,7 +148,7 @@ class Build(object):
make_cmd = [ "make", target ] make_cmd = [ "make", target ]
path = self.find_proj_path_cached(module) path = self.find_proj_path_cached(module)
delim_len=120 delim_len=120
delim='---- %d/%d: running %s in %s -' % (cur_project, num_projects, make_cmd, path) delim='---- [%d/%d]: running %s in %s -' % (cur_project, num_projects, make_cmd, path)
delim = delim + '-' * (delim_len - len(delim)) delim = delim + '-' * (delim_len - len(delim))
print(',' + delim + ' >') print(',' + delim + ' >')