[game-data-packager] 06/25: launcher: set intended default for base_directories

Simon McVittie smcv at debian.org
Sun Oct 9 21:26:05 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 a2f76e86d8506b931ab4e34277a0a26935d5415c
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Oct 9 12:27:33 2016 +0100

    launcher: set intended default for base_directories
    
    It's meant to be a list of directories, not a single directory.
---
 runtime/launcher.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/launcher.py b/runtime/launcher.py
index 2c9773c..6efbcfe 100755
--- a/runtime/launcher.py
+++ b/runtime/launcher.py
@@ -216,7 +216,7 @@ class Launcher:
 
         self.base_directories = list(map(expand,
                         self.data.get('base_directories',
-                            '/usr/lib/' + self.id)))
+                            ['/usr/lib/' + self.id])))
         logger.debug('Base directories: %r', self.base_directories)
 
         self.library_path = self.data.get('library_path', [])

-- 
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