Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/error.py @ 48966:6000f5b25c9b
py2: remove simple from __future__ statements
These were needed for Python 2 support. Now that our linter no longer
mandates these, we can start deleting them.
Differential Revision: https://phab.mercurial-scm.org/D12254
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 03 Mar 2022 17:34:00 +0100 |
parents | 6a454e7053a1 |
children | 9baec00b4ca1 |
comparison
equal
deleted
inserted
replaced
48965:af0b21d5a930 | 48966:6000f5b25c9b |
---|---|
9 | 9 |
10 This allows us to catch exceptions at higher levels without forcing | 10 This allows us to catch exceptions at higher levels without forcing |
11 imports. | 11 imports. |
12 """ | 12 """ |
13 | 13 |
14 from __future__ import absolute_import | |
15 | 14 |
16 import difflib | 15 import difflib |
17 | 16 |
18 # Do not import anything but pycompat here, please | 17 # Do not import anything but pycompat here, please |
19 from . import pycompat | 18 from . import pycompat |