Files @ 8a8a559eaf95
Branch filter:

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

Mads Kiilerich
pullrequests: state "closed" explicitly

A closed-as-in-locked icon did not communicate the closed-as-in-inactive state
clearly.

Instead we say "Closed" and make the text greyed out. Not pretty but more
efficient.
"""
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')