Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/utils/hashutil.py @ 48966: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 | 521ac0d7047f |
children | f4733654f144 |
comparison
equal
deleted
inserted
replaced
48965:af0b21d5a930 | 48966:6000f5b25c9b |
---|---|
1 from __future__ import absolute_import | |
2 | |
3 import hashlib | 1 import hashlib |
4 | 2 |
5 try: | 3 try: |
6 from ..thirdparty import sha1dc # pytype: disable=import-error | 4 from ..thirdparty import sha1dc # pytype: disable=import-error |
7 | 5 |