fix list index error when detecting subversion project

This commit is contained in:
Alan Hamlett 2014-11-18 15:57:29 -08:00
parent a455d7ce34
commit 685ba447b4
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ class Subversion(BaseProject):
if isinstance(line, bytes):
line = bytes.decode(line)
line = line.split(': ', 1)
info[line[0]] = line[1]
if len(line) == 2:
info[line[0]] = line[1]
return info
def _find_project_base(self, path, found=False):