Skip to content

Commit

Permalink
Fix logging issue with passing object to format()
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Arellano committed Aug 17, 2018
1 parent a4bf759 commit 62bc2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/task/testrunner_task_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def _execute(self, all_targets):
else:
log = self.context.log.info
result = self.result_class.successful()
log('{0:80}.....{1:>10}'.format(target.address.reference(), result))
log('{0:80}.....{1:>10}'.format(target.address.reference(), str(result)))

msgs = [str(_rv) for _rv in results.values() if not _rv.success]
failed_targets = [target
Expand Down

0 comments on commit 62bc2a4

Please sign in to comment.