blackbox: don't unpack the list while passing into str.join()
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 19 Jan 2018 14:10:18 +0530
changeset 35727 05c70675e5b9
parent 35726 45b678bf3a78
child 35728 22a877215ea1
blackbox: don't unpack the list while passing into str.join() The current state may result in error TypeError. Caught using evolve-tests.
hgext/blackbox.py
--- 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