[game-data-packager] 01/01: fix LGeneral exception

Alexandre Detiste detiste-guest at moszumanska.debian.org
Mon Mar 16 19:03:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit 1f948fd775141be055a3c5f2c5152171d8c112d0
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Mon Mar 16 20:02:53 2015 +0100

    fix LGeneral exception
    
    "TypeError: prepare_packages() got an unexpected keyword argument 'log_immediately'"
---
 game_data_packager/games/lgeneral.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/game_data_packager/games/lgeneral.py b/game_data_packager/games/lgeneral.py
index 954c805..36e66d7 100644
--- a/game_data_packager/games/lgeneral.py
+++ b/game_data_packager/games/lgeneral.py
@@ -34,7 +34,8 @@ class LGeneralGameData(GameData):
                     'if necessary)')
         return parser
 
-    def prepare_packages(self, packages, build_demos=False, download=True):
+    def prepare_packages(self, packages, build_demos=False, download=True,
+                    log_immediately=True):
         # don't bother even trying if it isn't going to work
         if which('lgc-pg') is None:
             logger.error('The "lgc-pg" tool is required for this package.')

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