[FIX] support multi empty line at end of source_repo_addons.csv
This commit is contained in:
parent
f32b5bf7f7
commit
c30ad41634
1 changed files with 4 additions and 1 deletions
|
|
@ -550,7 +550,10 @@ class GitTool:
|
|||
|
||||
for line in all_lines:
|
||||
# Separate information with path in tuple
|
||||
line_split = line[:-1].split(',')
|
||||
line = line.strip()
|
||||
if not line:
|
||||
continue
|
||||
line_split = line.split(',')
|
||||
if len(line_split) != 4:
|
||||
print(f"Error with line {line}, suppose to have only 4 ','.")
|
||||
exit(1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue