[game-data-packager] 03/05: avoid using reserved word

Alexandre Detiste detiste-guest at moszumanska.debian.org
Thu Jun 30 06:49:11 UTC 2016


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

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

commit f5be8e51e9154390d4c673049c11e9632c551130
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri Apr 3 15:07:31 2015 +0200

    avoid using reserved word
---
 game_data_packager/steam.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/game_data_packager/steam.py b/game_data_packager/steam.py
index 665be53..a8fff2e 100644
--- a/game_data_packager/steam.py
+++ b/game_data_packager/steam.py
@@ -42,8 +42,8 @@ def parse_acf(path):
                 acf_struct['name'] = acf_struct['installdir']
             yield acf_struct
 
-def owned_steam_games(id):
-    url = "http://steamcommunity.com/id/" + id + "/games?xml=1"
+def owned_steam_games(steam_id):
+    url = "http://steamcommunity.com/id/" + steam_id + "/games?xml=1"
     html = urllib.request.urlopen(url)
     tree = xml.etree.ElementTree.ElementTree()
     tree.parse(html)

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