[game-data-packager] 01/01: add minimal JSON load indicator

Alexandre Detiste detiste-guest at moszumanska.debian.org
Fri Mar 13 14:37:12 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 fb0909d1bdc996a91a97339db1a93bbb9cc9a6d4
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri Mar 13 15:36:00 2015 +0100

    add minimal JSON load indicator
---
 game_data_packager/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index abafbfc..489b940 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -2395,6 +2395,7 @@ def load_games(workdir=None):
     games = {}
 
     for jsonfile in glob.glob(os.path.join(DATADIR, '*.json')):
+        print('.', end='', flush=True)
         try:
             g = os.path.basename(jsonfile)
             g = g[:len(g) - 5]
@@ -2415,6 +2416,7 @@ def load_games(workdir=None):
             print('Error loading %s:\n' % jsonfile)
             raise
 
+    print('\r', end='', flush=True)
     return games
 
 def run_command_line():

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