Mercurial > public > mercurial-scm > hg
diff hgext/highlight/highlight.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 | 856cce0c255c |
children | 5f22c92dcf3d |
line wrap: on
line diff
--- a/hgext/highlight/highlight.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/highlight/highlight.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ # The original module was split in an interface and an implementation # file to defer pygments loading and speedup extension setup. -from __future__ import absolute_import from mercurial import demandimport