Mercurial > hg
comparison contrib/check-commit @ 48875: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 | d4ba4d51f85f |
children |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
13 # | 13 # |
14 # $ BYPASS= hg commit | 14 # $ BYPASS= hg commit |
15 # | 15 # |
16 # See also: https://mercurial-scm.org/wiki/ContributingChanges | 16 # See also: https://mercurial-scm.org/wiki/ContributingChanges |
17 | 17 |
18 from __future__ import absolute_import, print_function | |
19 | 18 |
20 import os | 19 import os |
21 import re | 20 import re |
22 import sys | 21 import sys |
23 | 22 |