comparison mercurial/commandserver.py @ 45942:89a2afe31e82

formating: upgrade to black 20.8b1 This required a couple of small tweaks to un-confuse black, but now it works. Big formatting changes come from: * Dramatically improved collection-splitting logic upstream * Black having a strong (correct IMO) opinion that """ is better than ''' Differential Revision: https://phab.mercurial-scm.org/D9430
author Augie Fackler <raf@durin42.com>
date Fri, 27 Nov 2020 17:03:29 -0500
parents d2e1dcd4490d
children ac9de799d390
comparison
equal deleted inserted replaced
45941:346af7687c6f 45942:89a2afe31e82
314 # handler removed. 314 # handler removed.
315 req.ui.error(_(b'interrupted!\n')) 315 req.ui.error(_(b'interrupted!\n'))
316 return -1 316 return -1
317 317
318 def runcommand(self): 318 def runcommand(self):
319 """ reads a list of \0 terminated arguments, executes 319 """reads a list of \0 terminated arguments, executes
320 and writes the return code to the result channel """ 320 and writes the return code to the result channel"""
321 from . import dispatch # avoid cycle 321 from . import dispatch # avoid cycle
322 322
323 args = self._readlist() 323 args = self._readlist()
324 324
325 # copy the uis so changes (e.g. --config or --verbose) don't 325 # copy the uis so changes (e.g. --config or --verbose) don't