Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commit.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 | 18e69f224e4b |
children | fce591256085 |
comparison
equal
deleted
inserted
replaced
48965:af0b21d5a930 | 48966:6000f5b25c9b |
---|---|
1 # commit.py - fonction to perform commit | 1 # commit.py - fonction to perform commit |
2 # | 2 # |
3 # This software may be used and distributed according to the terms of the | 3 # This software may be used and distributed according to the terms of the |
4 # GNU General Public License version 2 or any later version. | 4 # GNU General Public License version 2 or any later version. |
5 | 5 |
6 from __future__ import absolute_import | |
7 | 6 |
8 import errno | 7 import errno |
9 | 8 |
10 from .i18n import _ | 9 from .i18n import _ |
11 from .node import ( | 10 from .node import ( |