Merge "Pass full path of the XML in local_manifests to the parser"
diff --git a/manifest_xml.py b/manifest_xml.py
index 1300e91..c44b9c5 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -345,7 +345,8 @@
for local_file in sorted(os.listdir(local_dir)):
if local_file.endswith('.xml'):
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:
print('%s' % str(e), file=sys.stderr)
except OSError: