summaryrefslogtreecommitdiff
path: root/sleekxmpp/componentxmpp.py
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-05-24 19:33:24 -0700
committerNathan Fritz <nathan@andyet.net>2010-05-24 19:33:24 -0700
commit7ebc0065167189186ddf53e81a47dab887c87a72 (patch)
tree6820eacfe4b796f16112ab36a9b5d03c21bc4596 /sleekxmpp/componentxmpp.py
parent3920ee394183d95aa6f5b4ee3c8843c2d34ad4cb (diff)
downloadslixmpp-7ebc0065167189186ddf53e81a47dab887c87a72.tar.gz
slixmpp-7ebc0065167189186ddf53e81a47dab887c87a72.tar.bz2
slixmpp-7ebc0065167189186ddf53e81a47dab887c87a72.tar.xz
slixmpp-7ebc0065167189186ddf53e81a47dab887c87a72.zip
updated README, index fix for component
Diffstat (limited to 'sleekxmpp/componentxmpp.py')
-rwxr-xr-xsleekxmpp/componentxmpp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py
index 89953687..de125814 100755
--- a/sleekxmpp/componentxmpp.py
+++ b/sleekxmpp/componentxmpp.py
@@ -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: