Mercurial > hg-stable
changeset 35727:05c70675e5b9
blackbox: don't unpack the list while passing into str.join()
The current state may result in error TypeError.
Caught using evolve-tests.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 19 Jan 2018 14:10:18 +0530 |
parents | 45b678bf3a78 |
children | 22a877215ea1 |
files | hgext/blackbox.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/blackbox.py Wed Jan 17 17:07:55 2018 +0100 +++ b/hgext/blackbox.py Fri Jan 19 14:10:18 2018 +0530 @@ -133,7 +133,7 @@ def debug(self, *msg, **opts): super(blackboxui, self).debug(*msg, **opts) if self.debugflag: - self.log('debug', '%s', ''.join(*msg)) + self.log('debug', '%s', ''.join(msg)) def log(self, event, *msg, **opts): global lastui