Show More
@@ -580,10 +580,6 b' def has_absimport():' | |||||
580 | from mercurial import util |
|
580 | from mercurial import util | |
581 | return util.safehasattr(__future__, "absolute_import") |
|
581 | return util.safehasattr(__future__, "absolute_import") | |
582 |
|
582 | |||
583 | @check("py27+", "running with Python 2.7+") |
|
|||
584 | def has_python27ornewer(): |
|
|||
585 | return sys.version_info[0:2] >= (2, 7) |
|
|||
586 |
|
||||
587 | @check("py3k", "running with Python 3.x") |
|
583 | @check("py3k", "running with Python 3.x") | |
588 | def has_py3k(): |
|
584 | def has_py3k(): | |
589 | return 3 == sys.version_info[0] |
|
585 | return 3 == sys.version_info[0] |
General Comments 0
You need to be logged in to leave comments.
Login now