updated README, index fix for component

This commit is contained in:
Nathan Fritz
2010-05-25 10:33:24 +08:00
committed by Thom Nichols
parent e00dea7c0c
commit 8b3b8aca9e
3 changed files with 9 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python2.5
#!/usr/bin/python2.6
"""
SleekXMPP: The Sleek XMPP Library
@@ -54,7 +54,7 @@ class ComponentXMPP(basexmpp, XMLStream):
self.secret = secret
self.registerHandler(Callback('Handshake', MatchXPath('{jabber:component:accept}handshake'), self._handleHandshake))
def __getitem__(self, key):
def __getitem__(self, key):
if key in self.plugin:
return self.plugin[key]
else: