This is an automated email from the git hooks/post-receive script. smcv pushed a commit to branch master in repository game-data-packager.
commit 7ea7e15fd3bdba581ec28a5908f5a22566149ed1 Author: Simon McVittie <s...@debian.org> Date: Fri Oct 14 11:18:56 2016 +0100 Launcher: make --smp fail if the engine doesn't support it --- runtime/launcher.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/runtime/launcher.py b/runtime/launcher.py index 91b0006..f2eea53 100755 --- a/runtime/launcher.py +++ b/runtime/launcher.py @@ -250,8 +250,12 @@ class Launcher: else: self.engines = [] - if self.args.smp and 'smp_engine' in self.data: - self.engines.insert(0, self.data['smp_engine']) + if self.args.smp: + if 'smp_engine' in self.data: + self.engines.insert(0, self.data['smp_engine']) + else: + raise SystemExit('This game does not have a separate ' + 'SMP/threaded engine') if self.engines and self.args.engine is not None: self.engines.insert(0, self.args.engine) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits