Merge pull request #866 from efiop/master

metrics: show: don't print branch if all_branches=False
This commit is contained in:
Ruslan Kuprieiev
2018-07-07 03:41:39 +03:00
committed by GitHub
+2 -1
View File
@@ -419,7 +419,8 @@ class Project(object):
res[branch][rel] = metric
for branch, val in res.items():
self.logger.info('{}:'.format(branch))
if all_branches:
self.logger.info('{}:'.format(branch))
for fname, metric in val.items():
self.logger.info('\t{}: {}'.format(fname, metric))