Преглед изворни кода

Merge "Pass full path of the XML in local_manifests to the parser"

Conley Owens пре 13 година
родитељ
комит
c59bafffb9
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      manifest_xml.py

+ 2 - 1
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: