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 eace21985f1d59113dce35de1264112f9ff11b2c Author: Alexandre Detiste <[email protected]> Date: Wed Nov 11 21:29:10 2015 +0100 fix gog, atlantis & baldurs-gate-2 targets (Closes: #804804) --- debian/changelog | 1 + game_data_packager/__init__.py | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9a2151d..8929d2f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,7 @@ game-data-packager (44) UNRELEASED; urgency=medium [ Alexandre Detiste ] * fix en_GB auto-detection * fix autodownloading of GrimFandango Italian demo + * fix 'gog', 'atlantis' & 'baldurs-gate-2' targets (Closes: #804804) [ Simon McVittie ] * quake, quake2: make aliases consistently strings diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py index 43149b5..25e1a6d 100644 --- a/game_data_packager/__init__.py +++ b/game_data_packager/__init__.py @@ -1224,9 +1224,7 @@ class GameData(object): if package.gog == False: return gog = package.gog or self.gog - if not gog: - return - return gog.get('game', gog['url']) + return gog.get('game') or gog.get('url') def load_games(game='*', use_vfs=USE_VFS, use_yaml=False): progress = (game == '*' and sys.stderr.isatty() and -- 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 [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

