Exception.message does not exist with python2.4

darcs-hash:20070709182631-86b55-b9af71a30c1b4f19c84dc1fe76990f550d421a8c.gz
This commit is contained in:
David Rousselie
2007-07-09 20:26:31 +02:00
parent 0139f4beae
commit 8121eef1f0

View File

@@ -322,7 +322,7 @@ class JCLComponent(Component, object):
to_jid=stanza.get_from(), to_jid=stanza.get_from(),
stanza_type="error", stanza_type="error",
subject=lang_class.error_subject, subject=lang_class.error_subject,
body=lang_class.error_body % (e.message))] body=lang_class.error_body % (e))]
if send_result: if send_result:
self.send_stanzas(result) self.send_stanzas(result)
return result return result