fix list index error when detecting subversion project
This commit is contained in:
parent
a455d7ce34
commit
685ba447b4
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue