[SCM] morituri/master: make sure we mark defeatsCache as false if cdparanoia fails.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:59 UTC 2014


The following commit has been merged in the master branch:
commit a1cf9be277982d11d0c9263b0ea20dc09e77c8f2
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun Feb 3 14:55:59 2013 +0100

    make sure we mark defeatsCache as false if cdparanoia fails.

diff --git a/morituri/program/cdparanoia.py b/morituri/program/cdparanoia.py
index c86ff02..6ef58e3 100644
--- a/morituri/program/cdparanoia.py
+++ b/morituri/program/cdparanoia.py
@@ -603,5 +603,8 @@ class AnalyzeTask(ctask.PopenTask):
             self.defeatsCache = False
 
     def failed(self):
+        # cdparanoia exits with return code 1 if it can't determine
+        # whether it can defeat the audio cache
+        self.defeatsCache = False
         if self.cwd:
             shutil.rmtree(self.cwd)

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list