diff --git a/manifest_xml.py b/manifest_xml.py index 1300e916..c44b9c5e 100644 --- a/manifest_xml.py +++ b/manifest_xml.py @@ -345,7 +345,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: