Skip to content
Snippets Groups Projects
Commit 09373d23 authored by Antoine Eiche's avatar Antoine Eiche
Browse files

package.loader: ignore non tarball source

parent 4dfeafac
Branches
Tags
No related merge requests found
......@@ -361,8 +361,13 @@ class PackageLoader:
p_info)
return (None, False)
try:
uncompressed_path = self.uncompress(dl_artifacts, dest=tmpdir)
logger.debug('uncompressed_path: %s', uncompressed_path)
except ValueError:
logger.exception('Fail to uncompress %s',
p_info['url'])
return (None, False)
directory = from_disk.Directory.from_disk(
path=uncompressed_path.encode('utf-8'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment