[game-data-packager] 01/01: fix exception thrown by CD ripping code

Alexandre Detiste detiste-guest at moszumanska.debian.org
Sun Apr 23 10:08:19 UTC 2017


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 7bbd59baa71d978cfa947f2b03cfc4559c4ec15e
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sun Apr 23 12:06:43 2017 +0200

    fix exception thrown by CD ripping code
    
        rip_cd_packages = self.rip_cd_packages & packages
    AttributeError: 'QuakeTask' object has no attribute 'rip_cd_packages'
---
 game_data_packager/build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 6ef6848..e84ef87 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1732,7 +1732,7 @@ class PackagingTask(object):
         possible_with_steamcmd = set()
 
         if self.cd_device is not None:
-            rip_cd_packages = self.rip_cd_packages & packages
+            rip_cd_packages = self.game.rip_cd_packages & packages
             if rip_cd_packages:
                 if len(rip_cd_packages) > 1:
                     logger.error('cannot rip the same CD for more than one ' +

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