comparison hgext/fastannotate/error.py @ 43076:2372284d9457

formatting: blacken the codebase This is using my patch to black (https://github.com/psf/black/pull/826) so we don't un-wrap collection literals. Done with: hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"' | xargs black -S # skip-blame mass-reformatting only # no-check-commit reformats foo_bar functions Differential Revision: https://phab.mercurial-scm.org/D6971
author Augie Fackler <augie@google.com>
date Sun, 06 Oct 2019 09:45:02 -0400
parents 1ddb296e0dee
children 6000f5b25c9b
comparison
equal deleted inserted replaced
43075:57875cf423c9 43076:2372284d9457
4 # 4 #
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 from __future__ import absolute_import 7 from __future__ import absolute_import
8 8
9
9 class CorruptedFileError(Exception): 10 class CorruptedFileError(Exception):
10 pass 11 pass
11 12
13
12 class CannotReuseError(Exception): 14 class CannotReuseError(Exception):
13 """cannot reuse or update the cache incrementally""" 15 """cannot reuse or update the cache incrementally"""