comparison hgext/keyword.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 4237be881bb6
children f254fc73d956
comparison
equal deleted inserted replaced
48874:af0b21d5a930 48875:6000f5b25c9b
80 Expansions spanning more than one line and incremental expansions, 80 Expansions spanning more than one line and incremental expansions,
81 like CVS' $Log$, are not supported. A keyword template map "Log = 81 like CVS' $Log$, are not supported. A keyword template map "Log =
82 {desc}" expands to the first line of the changeset description. 82 {desc}" expands to the first line of the changeset description.
83 ''' 83 '''
84 84
85
86 from __future__ import absolute_import
87 85
88 import os 86 import os
89 import re 87 import re
90 import weakref 88 import weakref
91 89