[game-data-packager] 01/01: show more progress bar on slow devices (use BogoMips ?)

Alexandre Detiste detiste-guest at moszumanska.debian.org
Tue Feb 2 10:10:05 UTC 2016


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 49216eb461bb566e4bf7f3dc5c8a970f8869237c
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Tue Feb 2 11:09:32 2016 +0100

    show more progress bar on slow devices (use BogoMips ?)
---
 game_data_packager/build.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index e633ced..737d75c 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -61,7 +61,10 @@ logging.basicConfig()
 logger = logging.getLogger(__name__)
 
 # arbitrary cutoff for providing progress bars
-QUITE_LARGE = 50 * MEBIBYTE
+if os.path.isfile('/etc/rpi-issue'):
+    QUITE_LARGE = 50 * MEBIBYTE
+else:
+    QUITE_LARGE = 10 * MEBIBYTE
 
 class FillResult(Enum):
     UNDETERMINED = 0

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