Mercurial > hg
comparison hgext/hooklib/__init__.py @ 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 | 4cabeea6d214 |
children |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
11 The implementation of the hooks is subject to change, e.g. whether to | 11 The implementation of the hooks is subject to change, e.g. whether to |
12 implement them as individual hooks or merge them into the notify | 12 implement them as individual hooks or merge them into the notify |
13 extension as option. The functionality itself is planned to be supported | 13 extension as option. The functionality itself is planned to be supported |
14 long-term. | 14 long-term. |
15 """ | 15 """ |
16 from __future__ import absolute_import | |
17 from . import ( | 16 from . import ( |
18 changeset_obsoleted, | 17 changeset_obsoleted, |
19 changeset_published, | 18 changeset_published, |
20 ) | 19 ) |
21 | 20 |