Files @ f1dfd3a2a193
Branch filter:

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

Marcin Kuzminski
Added option to re-install githooks to repo2db mapper, and catch exception on removal so it doesn't break
after first error
"""
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')