[game-data-packager] 01/01: steam: remove ugly code

Alexandre Detiste detiste-guest at moszumanska.debian.org
Mon Sep 7 19:05:45 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 05282a6265896f9dda6beeed04a8fc7c6dd08516
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Mon Sep 7 21:05:18 2015 +0200

    steam: remove ugly code
---
 game_data_packager/__init__.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index d5f6834..c659c78 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -1,3 +1,4 @@
+
 #!/usr/bin/python3
 # encoding=utf-8
 #
@@ -3096,7 +3097,7 @@ def run_steam_meta_mode(parsed, games):
                 continue
 
             paths = []
-            for path in gamedata.iter_steam_paths({'dummy': package}.values()): #XXX: ugly
+            for path in gamedata.iter_steam_paths((package,)):
                 if path not in paths:
                     paths.append(path)
             if not paths:

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