[SCM] morituri/master: fix for when there are no responses

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


The following commit has been merged in the master branch:
commit e04e02a31e36765f98139198177e660f528ec358
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Wed Jun 24 21:30:08 2009 +0000

    fix for when there are no responses

diff --git a/morituri/common/program.py b/morituri/common/program.py
index 74ee58f..bcfc679 100644
--- a/morituri/common/program.py
+++ b/morituri/common/program.py
@@ -386,7 +386,7 @@ class Program(log.Loggable):
         """
 
         self.debug('verifying Image against %d AccurateRip responses',
-            len(responses))
+            len(responses or []))
 
         cueImage = image.Image(self.cuePath)
         verifytask = image.ImageVerifyTask(cueImage)

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list