Mercurial > hg
comparison mercurial/wireprotoserver.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 | 04688c51f81f |
children | 642e31cb55f0 |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
2 # Copyright 2005-2007 Olivia Mackall <olivia@selenic.com> | 2 # Copyright 2005-2007 Olivia Mackall <olivia@selenic.com> |
3 # | 3 # |
4 # This software may be used and distributed according to the terms of the | 4 # This software may be used and distributed according to the terms of the |
5 # GNU General Public License version 2 or any later version. | 5 # GNU General Public License version 2 or any later version. |
6 | 6 |
7 from __future__ import absolute_import | |
8 | 7 |
9 import contextlib | 8 import contextlib |
10 import struct | 9 import struct |
11 import threading | 10 import threading |
12 | 11 |