summaryrefslogtreecommitdiff
path: root/example.py
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@netflint.net>2009-06-10 21:39:24 +0000
committerNathan Fritz <fritzy@netflint.net>2009-06-10 21:39:24 +0000
commitfb3e0d85c415ec3aa7ca7cfdeab715bd0bb06888 (patch)
tree089ab75bde9c9d51f1ac0c3039a3a639e51b9bc8 /example.py
parent96b103b27599e5af247c1e3b95d62c80c1e32a63 (diff)
downloadslixmpp-fb3e0d85c415ec3aa7ca7cfdeab715bd0bb06888.tar.gz
slixmpp-fb3e0d85c415ec3aa7ca7cfdeab715bd0bb06888.tar.bz2
slixmpp-fb3e0d85c415ec3aa7ca7cfdeab715bd0bb06888.tar.xz
slixmpp-fb3e0d85c415ec3aa7ca7cfdeab715bd0bb06888.zip
fixed example
Diffstat (limited to 'example.py')
-rw-r--r--example.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/example.py b/example.py
index dc7066ee..b42bc40e 100644
--- a/example.py
+++ b/example.py
@@ -1,12 +1,12 @@
-import sleekxmpp.clientxmpp
+import sleekxmpp
import logging
from optparse import OptionParser
import time
-class Example(sleekxmpp.clientxmpp.ClientXMPP):
+class Example(sleekxmpp.ClientXMPP):
def __init__(self, jid, password):
- sleekxmpp.clientxmpp.ClientXMPP.__init__(self, jid, password)
+ sleekxmpp.ClientXMPP.__init__(self, jid, password)
self.add_event_handler("session_start", self.start)
self.add_event_handler("message", self.message)