Files @ 269c6e0b54cc
Branch filter:

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

Marcin Kuzminski
Reimplemented file-browser using partial-ajax
- improves the speed of browsing of files for revision
- url push state via html5 History
- also cache the results of calls for even faster handling the content
"""
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')