Mercurial > xib
changeset 244:9b83cdd51523
(muc) minor change in NotConnected error message
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Mon, 08 Mar 2010 18:29:41 +0100 |
parents | c9652650d5b5 |
children | cf4f00441628 |
files | muc.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/muc.py +++ b/muc.py @@ -52,12 +52,12 @@ class muc: The "force" optional argument bypasses the fact that we are not in the room yet, necessary to send initial presence""" if not self.connected and not force: - raise self.NotConnected, stanza.__str__(fancy=1).encode('utf-8') + raise self.NotConnected, self.jid+'\n'+stanza.__str__(fancy=1).encode('utf-8') try: self.xmpp_c.send(stanza) except IOError, xmpp.Conflict: if not self.auto_reconnect: - raise self.NotConnected, stanza.__str__(fancy=1).encode('utf-8') + raise self.NotConnected, self.jid+'\n'+stanza.__str__(fancy=1).encode('utf-8') self.xmpp_c.reconnectAndReauth() for m in self.xmpp_c.mucs: