diff options
author | Anton Ryzhov <anton@ryzhov.me> | 2013-03-28 22:09:02 +0400 |
---|---|---|
committer | Anton Ryzhov <anton@ryzhov.me> | 2013-03-28 22:09:33 +0400 |
commit | 020197718f81937a755f1ca1f1126fc1e15dbd72 (patch) | |
tree | 2033a56a758f53e3ded7afcde2b40e249688bb53 /sleekxmpp/xmlstream | |
parent | a0c77c04a5d7185fe01729961d05eccdba4d37e7 (diff) | |
download | slixmpp-020197718f81937a755f1ca1f1126fc1e15dbd72.tar.gz slixmpp-020197718f81937a755f1ca1f1126fc1e15dbd72.tar.bz2 slixmpp-020197718f81937a755f1ca1f1126fc1e15dbd72.tar.xz slixmpp-020197718f81937a755f1ca1f1126fc1e15dbd72.zip |
Event index documentation updated
Diffstat (limited to 'sleekxmpp/xmlstream')
-rw-r--r-- | sleekxmpp/xmlstream/xmlstream.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index f9a9c5a5..1c0b84b9 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -559,7 +559,7 @@ class XMLStream(object): self.set_socket(self.socket, ignore=True) #this event is where you should set your application state - self.event("connected", direct=True) + self.event('connected', direct=True) return True except (Socket.error, ssl.SSLError) as serr: error_msg = "Could not connect to %s:%s. Socket Error #%s: %s" @@ -718,7 +718,7 @@ class XMLStream(object): self.event('socket_error', serr, direct=True) finally: #clear your application state - self.event("disconnected", direct=True) + self.event('disconnected', direct=True) return True def abort(self): |