git: use safe configparser for git submodules to prevent from errors on submodules with % sign.
- This is treated as interpolation sign and can cause errors on regular ConfigParser instance.
This commit is contained in:
parent
3b5d294eac
commit
54a47cd524
1 changed files with 1 additions and 1 deletions
|
|
@ -472,7 +472,7 @@ class GitCommit(base.BaseCommit):
|
|||
for line in _content.splitlines():
|
||||
yield line
|
||||
|
||||
parser = configparser.ConfigParser()
|
||||
parser = configparser.RawConfigParser()
|
||||
parser.read_file(iter_content(submodules_node.content))
|
||||
|
||||
for section in parser.sections():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue