Mercurial > public > mercurial-scm > hg
diff hgdemandimport/__init__.py @ 48947:425585f057e0
demandimport: delete demandimportpy2 module
We no longer support Python 2.
Differential Revision: https://phab.mercurial-scm.org/D12353
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Feb 2022 13:10:22 -0700 |
parents | 6000f5b25c9b |
children | 127d33e63d1a |
line wrap: on
line diff
--- a/hgdemandimport/__init__.py Mon Feb 21 13:08:28 2022 -0700 +++ b/hgdemandimport/__init__.py Mon Feb 21 13:10:22 2022 -0700 @@ -15,10 +15,7 @@ import os import sys -if sys.version_info[0] >= 3: - from . import demandimportpy3 as demandimport -else: - from . import demandimportpy2 as demandimport +from . import demandimportpy3 as demandimport # Full module names which can't be lazy imported. # Extensions can add to this set.