comparison mercurial/error.py @ 45957: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 8f50dc096cf4
children ae62ab82a345 3941fe53670d
comparison
equal deleted inserted replaced
45956:346af7687c6f 45957:89a2afe31e82
392 ), 392 ),
393 ) 393 )
394 394
395 395
396 class UnknownVersion(Abort): 396 class UnknownVersion(Abort):
397 """generic exception for aborting from an encounter with an unknown version 397 """generic exception for aborting from an encounter with an unknown version"""
398 """
399 398
400 def __init__(self, msg, hint=None, version=None): 399 def __init__(self, msg, hint=None, version=None):
401 self.version = version 400 self.version = version
402 super(UnknownVersion, self).__init__(msg, hint=hint) 401 super(UnknownVersion, self).__init__(msg, hint=hint)
403 402