mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
updated README, index fix for component
This commit is contained in:
parent
3920ee3941
commit
7ebc006516
3 changed files with 9 additions and 5 deletions
8
README
8
README
|
@ -1,5 +1,8 @@
|
||||||
SleekXMPP is an XMPP library written for Python 3.x (with 2.6 compatibility).
|
SleekXMPP is an XMPP library written for Python 3.1+ (with 2.6 compatibility).
|
||||||
|
Hosted at http://wiki.github.com/fritzy/SleekXMPP/
|
||||||
|
|
||||||
Featured in examples in XMPP: The Definitive Guide by Kevin Smith, Remko Tronçon, and Peter Saint-Andre
|
Featured in examples in XMPP: The Definitive Guide by Kevin Smith, Remko Tronçon, and Peter Saint-Andre
|
||||||
|
If you're coming here from The Definitive Guide, please read http://wiki.github.com/fritzy/SleekXMPP/xmpp-the-definitive-guide
|
||||||
|
|
||||||
SleekXMPP has several design goals/philosophies:
|
SleekXMPP has several design goals/philosophies:
|
||||||
- Low number of dependencies.
|
- Low number of dependencies.
|
||||||
|
@ -31,7 +34,8 @@ Since 0.2, here's the Changelog:
|
||||||
Credits
|
Credits
|
||||||
----------------
|
----------------
|
||||||
Main Author: Nathan Fritz fritz@netflint.net
|
Main Author: Nathan Fritz fritz@netflint.net
|
||||||
XEP-0045 original implementation: Kevin Smith
|
Contributors: Kevin Smith & Lance Stout
|
||||||
Patches: Remko Tronçon
|
Patches: Remko Tronçon
|
||||||
|
|
||||||
Feel free to add fritzy@netflint.net to your roster for direct support and comments.
|
Feel free to add fritzy@netflint.net to your roster for direct support and comments.
|
||||||
|
Join sleekxmpp-discussion@googlegroups.com / http://groups.google.com/group/sleekxmpp-discussion for discussion.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python2.5
|
#!/usr/bin/python2.6
|
||||||
|
|
||||||
"""
|
"""
|
||||||
SleekXMPP: The Sleek XMPP Library
|
SleekXMPP: The Sleek XMPP Library
|
||||||
|
@ -54,7 +54,7 @@ class ComponentXMPP(basexmpp, XMLStream):
|
||||||
self.secret = secret
|
self.secret = secret
|
||||||
self.registerHandler(Callback('Handshake', MatchXPath('{jabber:component:accept}handshake'), self._handleHandshake))
|
self.registerHandler(Callback('Handshake', MatchXPath('{jabber:component:accept}handshake'), self._handleHandshake))
|
||||||
|
|
||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
if key in self.plugin:
|
if key in self.plugin:
|
||||||
return self.plugin[key]
|
return self.plugin[key]
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -281,7 +281,7 @@ class DefaultConfig(ElementBase):
|
||||||
|
|
||||||
def getType(self):
|
def getType(self):
|
||||||
t = self._getAttr('type')
|
t = self._getAttr('type')
|
||||||
if not t: t == 'leaf'
|
if not t: t = 'leaf'
|
||||||
return t
|
return t
|
||||||
|
|
||||||
stanzaPlugin(PubsubOwner, DefaultConfig)
|
stanzaPlugin(PubsubOwner, DefaultConfig)
|
||||||
|
|
Loading…
Reference in a new issue