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 <s...@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

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to