BaseException.message has been deprecated as of Python 2.6

This commit is contained in:
Yann Leboulanger 2009-09-03 22:38:40 +02:00
parent 682d6f838a
commit 91b7004dc9
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ def try_run(argv):
except Exception, e: except Exception, e:
return _('Error executing "%(command)s": %(error)s') % { return _('Error executing "%(command)s": %(error)s') % {
'command': " ".join(argv), 'command': " ".join(argv),
'error': helpers.decode_string(e.message)} 'error': helpers.decode_string(str(e))}
def latex_to_image(str_): def latex_to_image(str_):