Mercurial > hg
comparison mercurial/utils/compression.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 | 471cd86c8eb4 |
children | 642e31cb55f0 |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
1 # compression.py - Mercurial utility functions for compression | 1 # compression.py - Mercurial utility functions for compression |
2 # | 2 # |
3 # This software may be used and distributed according to the terms of the | 3 # This software may be used and distributed according to the terms of the |
4 # GNU General Public License version 2 or any later version. | 4 # GNU General Public License version 2 or any later version. |
5 | 5 |
6 | |
7 from __future__ import absolute_import, print_function | |
8 | 6 |
9 import bz2 | 7 import bz2 |
10 import collections | 8 import collections |
11 import zlib | 9 import zlib |
12 | 10 |