Files @ df05806e8a2d
Branch filter:

Location: kallithea/rhodecode/lib/vcs/utils/compat.py

Mads Kiilerich
changelog: "compare fork with parent" should only be shown when no changesets selected

It do not use the selected changeset - showing the option is confusing.

Greying out would perhaps be better ... but the button is already grey.
"""
Various utilities to work with Python < 2.7.

Those utilities may be deleted once ``vcs`` stops support for older Python
versions.
"""
import sys


if sys.version_info >= (2, 7):
    unittest = __import__('unittest')
else:
    unittest = __import__('unittest2')