changeset b9993a87ea04 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=b9993a87ea04 description: BaseException.message is deprecated since 2.6. Fixes #5465
diffstat:
src/command_system/errors.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 988933a90557 -r b9993a87ea04 src/command_system/errors.py --- a/src/command_system/errors.py Mon Nov 30 12:53:26 2009 +0200 +++ b/src/command_system/errors.py Mon Nov 30 14:58:43 2009 +0200 @@ -20,13 +20,15 @@ """
def __init__(self, message, command=None, name=None): + self.message = message + self.command = command self.name = name
if command and not name: self.name = command.first_name
- super(BaseError, self).__init__(message) + super(BaseError, self).__init__()
class DefinitionError(BaseError): """