mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Merge "Pass full path of the XML in local_manifests to the parser"
This commit is contained in:
commit
c59bafffb9
@ -345,7 +345,8 @@ class XmlManifest(object):
|
|||||||
for local_file in sorted(os.listdir(local_dir)):
|
for local_file in sorted(os.listdir(local_dir)):
|
||||||
if local_file.endswith('.xml'):
|
if local_file.endswith('.xml'):
|
||||||
try:
|
try:
|
||||||
nodes.append(self._ParseManifestXml(local_file, self.repodir))
|
local = os.path.join(local_dir, local_file)
|
||||||
|
nodes.append(self._ParseManifestXml(local, self.repodir))
|
||||||
except ManifestParseError as e:
|
except ManifestParseError as e:
|
||||||
print('%s' % str(e), file=sys.stderr)
|
print('%s' % str(e), file=sys.stderr)
|
||||||
except OSError:
|
except OSError:
|
||||||
|
Loading…
Reference in New Issue
Block a user