[SCM] morituri/master: Handle unknown option on rip cd info. 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 d9e2175ddce1588bdf20c584a2aa0d209291808b
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Wed Jul 3 20:15:32 2013 +0200
    Handle unknown option on rip cd info.  Fixes #30.
diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py
index 436b6ba..e067b67 100644
--- a/morituri/rip/cd.py
+++ b/morituri/rip/cd.py
@@ -90,7 +90,8 @@ class _CD(logcommand.LogCommand):
             if cddbmd:
                 self.stdout.write('FreeDB identifies disc as %s\n' % cddbmd)
 
-            if not self.options.unknown:
+            # also used by rip cd info
+            if not self.options.get('unknown:', False):
                 self.program.ejectDevice(self.device)
                 return -1
 
-- 
morituri packaging
    
    
More information about the pkg-multimedia-commits
mailing list