cli: raise NotImplementedError with btype name
Print the exact unhandled btype name to the user, so it's clearer why we're exiting early here.
This commit is contained in:
parent
4a94d6f506
commit
8321df159b
1 changed files with 1 additions and 2 deletions
|
|
@ -655,8 +655,7 @@ def download_archive(build, archive, topurl, quiet=False, noprogress=False):
|
|||
path = archive['filename']
|
||||
else:
|
||||
# TODO: cover module/operator-manifests/remote-sources
|
||||
# can't happen
|
||||
assert False # pragma: no cover
|
||||
raise NotImplementedError(archive['btype'])
|
||||
|
||||
download_file(url, path, quiet=quiet, noprogress=noprogress, filesize=archive['size'])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue