[game-data-packager] 01/02: z_code: check assert for every package, not ony the last one

Alexandre Detiste detiste-guest at moszumanska.debian.org
Mon Jan 11 14:19:58 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 970fb47a7583235d6a6f90542a81862f5d58e72c
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Mon Jan 11 14:58:51 2016 +0100

    z_code: check assert for every package, not ony the last one
---
 game_data_packager/games/z_code.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game_data_packager/games/z_code.py b/game_data_packager/games/z_code.py
index 0016e2a..89daf36 100644
--- a/game_data_packager/games/z_code.py
+++ b/game_data_packager/games/z_code.py
@@ -39,7 +39,7 @@ class ZCodeGameData(GameData):
                 if re.match('^.z[12345678]$', os.path.splitext(install)[1]):
                     assert package.z_file is None
                     package.z_file = install
-        assert package.z_file
+            assert package.z_file
 
         if self.engine is None:
             self.engine = 'gargoyle-free | frotz'

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