system-info: fix reading backends from config.

- now it's already as a list.
This commit is contained in:
Marcin Kuzminski 2017-11-07 22:50:20 +01:00
parent 661d12e10f
commit f42a86d572

View file

@ -489,8 +489,7 @@ def svn_info():
def vcs_backends():
import rhodecode
value = map(
string.strip, rhodecode.CONFIG.get('vcs.backends', '').split(','))
value = rhodecode.CONFIG.get('vcs.backends')
human_value = 'Enabled backends in order: {}'.format(','.join(value))
return SysInfoRes(value=value, human_value=human_value)