brought components over to python 3.x

This commit is contained in:
Nathan Fritz
2009-08-31 23:02:19 +00:00
parent 05c9ea5c1d
commit 436841fa6f
2 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,6 @@ class Example(sleekxmpp.componentxmpp.ComponentXMPP):
pass
def message(self, event):
print event
self.sendMessage("%s/%s" % (event['jid'], event['resource']), "Thanks for sending me, \"%s\"." % event['message'], mtype=event['type'])
if __name__ == '__main__':