Mercurial > hg
diff hgext/hooklib/enforce_draft_commits.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 | f4733654f144 |
line wrap: on
line diff
--- a/hgext/hooklib/enforce_draft_commits.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/hooklib/enforce_draft_commits.py Thu Mar 03 17:34:00 2022 +0100 @@ -14,7 +14,6 @@ python:hgext.hooklib.enforce_draft_commits.hook """ -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import (