##// END OF EJS Templates
config: use the right API to access git-submodule...
marmoute -
r47153:f7621fa1 default
parent child Browse files
Show More
@@ -247,7 +247,8 b' class convert_git(common.converter_sourc'
247 b'\n'.join(line.strip() for line in content.split(b'\n')),
247 b'\n'.join(line.strip() for line in content.split(b'\n')),
248 )
248 )
249 for sec in c.sections():
249 for sec in c.sections():
250 s = c[sec]
250 # turn the config object into a real dict
251 s = dict(c.items(sec))
251 if b'url' in s and b'path' in s:
252 if b'url' in s and b'path' in s:
252 self.submodules.append(submodule(s[b'path'], b'', s[b'url']))
253 self.submodules.append(submodule(s[b'path'], b'', s[b'url']))
253
254
General Comments 0
You need to be logged in to leave comments. Login now