We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f7c801 commit e13151cCopy full SHA for e13151c
tools/sync/opengrok.py
@@ -96,5 +96,7 @@ def get_repo_type(logger, path, messages_file):
96
97
line = get_first_line(logger, [messages_file, '-n', 'repository', '-t',
98
path, 'get-repo-type'])
99
+ if not line:
100
+ return None
101
idx = line.rfind(":")
102
return line[idx + 1:]
0 commit comments