Changeset - 3b082ec6fd8b
[Not reviewed]
default
0 1 0
Henrik Stuart - 11 years ago 2014-08-30 15:19:52
hg@hstuart.dk
utils: do not fail if git is not installed and has been removed from __init__.py BACKENDS
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/utils.py
Show inline comments
 
@@ -803,6 +803,9 @@ def check_git_version():
 
    from kallithea.lib.vcs.conf import settings
 
    from distutils.version import StrictVersion
 

	
 
    if 'git' not in BACKENDS:
 
        return None
 

	
 
    stdout, stderr = GitRepository._run_git_command('--version', _bare=True,
 
                                                    _safe=True)
 

	
0 comments (0 inline, 0 general)