mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
break if leading comments are all fetched
This commit is contained in:
parent
d7f65dc7a7
commit
38add0e4a2
@ -2548,6 +2548,8 @@ def _parse_repo_file(filename):
|
||||
for line in rawfile:
|
||||
if line.strip().startswith('#'):
|
||||
headers += '{0}\n'.format(line.strip())
|
||||
else:
|
||||
break
|
||||
|
||||
return (headers, config)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user