Skip to content

Commit

Permalink
check for invalid bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
zworkb committed Mar 30, 2020
1 parent 13287b2 commit 1683517
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pythonforandroid/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,8 +984,9 @@ def _build_package(self, args, package_type):
ctx = self.ctx
dist = self._dist
bs = Bootstrap.get_bootstrap(args.bootstrap, ctx)
if not bs:
raise BuildInterruptingException("invalid bootstrap given: %s" % args.bootstrap)
ctx.prepare_bootstrap(bs)

self._fix_args(args)
env = self._prepare_release_env(args)

Expand Down

0 comments on commit 1683517

Please sign in to comment.