[SCM] morituri/master: Really handle unknown on rip cd info. Really fixes #30.

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


The following commit has been merged in the master branch:
commit 1a4f9e367d4e8eb98ed7b1182ee0132898cbf7af
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Thu Jul 4 01:02:14 2013 +0200

    Really handle unknown on rip cd info.  Really fixes #30.

diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py
index e067b67..48a21a4 100644
--- a/morituri/rip/cd.py
+++ b/morituri/rip/cd.py
@@ -91,7 +91,7 @@ class _CD(logcommand.LogCommand):
                 self.stdout.write('FreeDB identifies disc as %s\n' % cddbmd)
 
             # also used by rip cd info
-            if not self.options.get('unknown:', False):
+            if not getattr(self.options, 'unknown', False):
                 self.program.ejectDevice(self.device)
                 return -1
 

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list