Skip to content
Snippets Groups Projects
Unverified Commit 33116d73 authored by Patrick Gartung's avatar Patrick Gartung Committed by GitHub
Browse files

Buildcache create: change NoOverwriteException back to a warning as in v0.14 (#17832)

* Change buildcache create `NoOverwriteException` back to a warning.
parent f29dd481
No related branches found
No related tags found
No related merge requests found
......@@ -399,9 +399,12 @@ def _createtarball(env, spec_yaml=None, packages=None, add_spec=True,
for spec in specs:
tty.debug('creating binary cache file for package %s ' % spec.format())
bindist.build_tarball(spec, outdir, force, make_relative,
unsigned, allow_root, signing_key,
rebuild_index)
try:
bindist.build_tarball(spec, outdir, force, make_relative,
unsigned, allow_root, signing_key,
rebuild_index)
except bindist.NoOverwriteException as e:
tty.warn(e)
def createtarball(args):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment