[game-data-packager] 02/05: fake GOG: be more explicit that's error comme from this tool

Alexandre Detiste detiste-guest at moszumanska.debian.org
Sat Sep 19 08:28:28 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 b52be89012928eb6aaf852f826ef409c798264d4
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sat Sep 19 09:49:26 2015 +0200

    fake GOG: be more explicit that's error comme from this tool
---
 tools/fake_lgog.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/fake_lgog.py b/tools/fake_lgog.py
index 981947d..917095b 100755
--- a/tools/fake_lgog.py
+++ b/tools/fake_lgog.py
@@ -47,13 +47,13 @@ archive = {
           }.get(game + '#' + (args.language or 'en'))
 
 if archive is None:
-    exit('Unknown game %s' % game)
+    exit('FAKE LGOGDOWNLOADER: Unknown game %s' % game)
 
 locate = subprocess.check_output(['locate', archive], universal_newlines=True)
 for file in locate.splitlines():
     if file.endswith(archive):
        break
 else:
-    exit('archive %s not found in "locate" database' % archive)
+    exit('FAKE LGOGDOWNLOADER: archive %s not found in "locate" database' % archive)
 
 subprocess.check_call(['cp', '--reflink=auto', '-v', file, args.directory])

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