comparison hgext/blackbox.py @ 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 853bf7d90804
children c6061cadb400
comparison
equal deleted inserted replaced
35726:45b678bf3a78 35727:05c70675e5b9
131 return self.configlist('blackbox', 'track') 131 return self.configlist('blackbox', 'track')
132 132
133 def debug(self, *msg, **opts): 133 def debug(self, *msg, **opts):
134 super(blackboxui, self).debug(*msg, **opts) 134 super(blackboxui, self).debug(*msg, **opts)
135 if self.debugflag: 135 if self.debugflag:
136 self.log('debug', '%s', ''.join(*msg)) 136 self.log('debug', '%s', ''.join(msg))
137 137
138 def log(self, event, *msg, **opts): 138 def log(self, event, *msg, **opts):
139 global lastui 139 global lastui
140 super(blackboxui, self).log(event, *msg, **opts) 140 super(blackboxui, self).log(event, *msg, **opts)
141 141