diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-05-25 10:33:24 +0800 |
---|---|---|
committer | Thom Nichols <tmnichols@gmail.com> | 2010-06-01 22:07:51 +0800 |
commit | 8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea (patch) | |
tree | 19a25140d5ba7d1ccce77e765433352e7ea67b05 /sleekxmpp/componentxmpp.py | |
parent | e00dea7c0cc8d973aeebcfdb045c82923d0acdef (diff) | |
download | slixmpp-8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea.tar.gz slixmpp-8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea.tar.bz2 slixmpp-8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea.tar.xz slixmpp-8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea.zip |
updated README, index fix for component
Diffstat (limited to 'sleekxmpp/componentxmpp.py')
-rwxr-xr-x | sleekxmpp/componentxmpp.py | 4 |
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: |