[SCM] morituri/master: BaseException.message is deprecated so avoid it
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:19 UTC 2014
The following commit has been merged in the master branch:
commit 61193a4398cdcce563a9516a3907413eac565072
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Fri Apr 16 20:59:35 2010 +0000
BaseException.message is deprecated so avoid it
diff --git a/morituri/program/cdrdao.py b/morituri/program/cdrdao.py
index 5e71818..67b298a 100644
--- a/morituri/program/cdrdao.py
+++ b/morituri/program/cdrdao.py
@@ -35,9 +35,9 @@ class ProgramError(Exception):
"""
The program had a fatal error.
"""
- def __init__(self, message):
- self.args = (message, )
- self.message = message
+ def __init__(self, errorMessage):
+ self.args = (errorMessage, )
+ self.errorMessage = errorMessage
states = ['START', 'TRACK', 'LEADOUT', 'DONE']
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list