[SCM] morituri/master: * morituri/rip/main.py: Handle EmptyError.

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


The following commit has been merged in the master branch:
commit 1cfdcb7302bb9db2604a9a1aa482fc1f2fe95129
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Thu Jul 12 09:17:59 2012 +0000

    	* morituri/rip/main.py:
    	  Handle EmptyError.

diff --git a/ChangeLog b/ChangeLog
index 1c76a06..8e0d885 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2012-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+	* morituri/rip/main.py:
+	  Handle EmptyError.
+
+2012-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
+
 	* morituri/rip/debug.py:
 	  Add encode debug.
 
diff --git a/morituri/rip/main.py b/morituri/rip/main.py
index afd749b..2581948 100644
--- a/morituri/rip/main.py
+++ b/morituri/rip/main.py
@@ -37,6 +37,8 @@ cdrdao says:
             return 255
 
         if isinstance(e.exception, common.EmptyError):
+            log.debug('main',
+                "EmptyError: %r", log.getExceptionMessage(e.exception))
             sys.stderr.write(
                 'rip: error: Could not create encoded file.\n') 
             return 255

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list