[game-data-packager] 03/14: launcher: set a default for binary_only
Simon McVittie
smcv at debian.org
Fri Oct 14 00:09:49 UTC 2016
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 f614364985eafb86ba8e8e44b0e8296f769a3a22
Author: Simon McVittie <smcv at debian.org>
Date: Wed Oct 12 10:55:04 2016 +0100
launcher: set a default for binary_only
---
runtime/launcher.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/launcher.py b/runtime/launcher.py
index 001ed8b..94e1431 100755
--- a/runtime/launcher.py
+++ b/runtime/launcher.py
@@ -202,7 +202,7 @@ class Launcher:
self.data = json.load(open('%s/launch-%s.json' % (RUNTIME_BUILT,
self.id), encoding='utf-8'))
- self.binary_only = self.data['binary_only']
+ self.binary_only = self.data.get('binary_only', False)
logger.debug('Binary-only: %r', self.binary_only)
self.required_files = list(map(expand, self.data['required_files']))
logger.debug('Checked files: %r', sorted(self.required_files))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list