comparison hgext/hooklib/changeset_published.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 89a2afe31e82
children ef5f5f1cbd90
comparison
equal deleted inserted replaced
48874:af0b21d5a930 48875:6000f5b25c9b
15 [hooks] 15 [hooks]
16 txnclose-phase.changeset_published = \ 16 txnclose-phase.changeset_published = \
17 python:hgext.hooklib.changeset_published.hook 17 python:hgext.hooklib.changeset_published.hook
18 """ 18 """
19 19
20 from __future__ import absolute_import
21 20
22 import email.errors as emailerrors 21 import email.errors as emailerrors
23 import email.utils as emailutils 22 import email.utils as emailutils
24 23
25 from mercurial.i18n import _ 24 from mercurial.i18n import _