* morituri/rip/main.py:

Handle EmptyError.
This commit is contained in:
Thomas Vander Stichele
2012-07-12 09:17:59 +00:00
parent 6c50b72853
commit 1cfdcb7302
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
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:

View File

@@ -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