mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
hghave: remove py27+ capability
It is now unused. And we require Python 2.7+ now so this check is not necessary.
This commit is contained in:
parent
886ce31bbb
commit
23a56c76db
@ -580,10 +580,6 @@ def has_absimport():
|
||||
from mercurial import util
|
||||
return util.safehasattr(__future__, "absolute_import")
|
||||
|
||||
@check("py27+", "running with Python 2.7+")
|
||||
def has_python27ornewer():
|
||||
return sys.version_info[0:2] >= (2, 7)
|
||||
|
||||
@check("py3k", "running with Python 3.x")
|
||||
def has_py3k():
|
||||
return 3 == sys.version_info[0]
|
||||
|
Loading…
Reference in New Issue
Block a user