comparison mercurial/commandserver.py @ 34486:a57c938e7ac8

style: never use a space before a colon or comma Differential Revision: https://phab.mercurial-scm.org/D954
author Alex Gaynor <agaynor@mozilla.com>
date Fri, 29 Sep 2017 15:48:34 +0000
parents 76b334b9f45c
children 414114a7c18f
comparison
equal deleted inserted replaced
34485:37b7581e5737 34486:a57c938e7ac8
270 # looking at the servers capabilities 270 # looking at the servers capabilities
271 raise error.Abort(_('unknown command %s') % cmd) 271 raise error.Abort(_('unknown command %s') % cmd)
272 272
273 return cmd != '' 273 return cmd != ''
274 274
275 capabilities = {'runcommand' : runcommand, 275 capabilities = {'runcommand': runcommand,
276 'getencoding' : getencoding} 276 'getencoding': getencoding}
277 277
278 def serve(self): 278 def serve(self):
279 hellomsg = 'capabilities: ' + ' '.join(sorted(self.capabilities)) 279 hellomsg = 'capabilities: ' + ' '.join(sorted(self.capabilities))
280 hellomsg += '\n' 280 hellomsg += '\n'
281 hellomsg += 'encoding: ' + encoding.encoding 281 hellomsg += 'encoding: ' + encoding.encoding