fix for issue #578 git hooks sometimes cannot be executed due to different python they runned under, this commit tries to fix that by altering the PATH env variable using current python that rhodecode is running
"""Various utilities to work with Python < 2.7.Those utilities may be deleted once ``vcs`` stops support for older Pythonversions."""importsysifsys.version_info>=(2,7):unittest=__import__('unittest')else:unittest=__import__('unittest2')