Mercurial > hg
comparison mercurial/formatter.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 | df56e6bd37f6 |
children | 07a7b57d3e33 |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
103 bar | 103 bar |
104 >>> show(subrepos, template=b'{reponame}: {join(files % "{path}", ", ")}\\n') | 104 >>> show(subrepos, template=b'{reponame}: {join(files % "{path}", ", ")}\\n') |
105 baz: foo, bar | 105 baz: foo, bar |
106 """ | 106 """ |
107 | 107 |
108 from __future__ import absolute_import, print_function | |
109 | 108 |
110 import contextlib | 109 import contextlib |
111 import itertools | 110 import itertools |
112 import os | 111 import os |
113 import pickle | 112 import pickle |