Mercurial > hg
comparison hgext/blackbox.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 | abbecb5cd6f3 |
children | 642e31cb55f0 |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
40 # datetime.datetime.strftime) | 40 # datetime.datetime.strftime) |
41 date-format = %Y-%m-%d @ %H:%M:%S.%f | 41 date-format = %Y-%m-%d @ %H:%M:%S.%f |
42 | 42 |
43 """ | 43 """ |
44 | 44 |
45 from __future__ import absolute_import | |
46 | 45 |
47 import re | 46 import re |
48 | 47 |
49 from mercurial.i18n import _ | 48 from mercurial.i18n import _ |
50 from mercurial.node import hex | 49 from mercurial.node import hex |