diff options
-rw-r--r-- | manifest_xml.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index e8693ba8..07f0c66a 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
@@ -344,11 +344,8 @@ class XmlManifest(object): | |||
344 | try: | 344 | try: |
345 | for local_file in sorted(os.listdir(local_dir)): | 345 | for local_file in sorted(os.listdir(local_dir)): |
346 | if local_file.endswith('.xml'): | 346 | if local_file.endswith('.xml'): |
347 | try: | 347 | local = os.path.join(local_dir, local_file) |
348 | local = os.path.join(local_dir, local_file) | 348 | nodes.append(self._ParseManifestXml(local, self.repodir)) |
349 | nodes.append(self._ParseManifestXml(local, self.repodir)) | ||
350 | except ManifestParseError as e: | ||
351 | print('%s' % str(e), file=sys.stderr) | ||
352 | except OSError: | 349 | except OSError: |
353 | pass | 350 | pass |
354 | 351 | ||