diff --git a/manifest_xml.py b/manifest_xml.py index 0664eff9..ed521992 100644 --- a/manifest_xml.py +++ b/manifest_xml.py @@ -346,7 +346,8 @@ class XmlManifest(object): 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: