mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
indent problem on stanzabase
This commit is contained in:
parent
130a148d34
commit
f80b3285d4
1 changed files with 4 additions and 4 deletions
|
@ -21,10 +21,10 @@ xmltester = type(ET.Element('xml'))
|
||||||
|
|
||||||
|
|
||||||
def registerStanzaPlugin(stanza, plugin):
|
def registerStanzaPlugin(stanza, plugin):
|
||||||
"""
|
"""
|
||||||
Associate a stanza object as a plugin for another stanza.
|
Associate a stanza object as a plugin for another stanza.
|
||||||
"""
|
"""
|
||||||
tag = "{%s}%s" % (plugin.namespace, plugin.name)
|
tag = "{%s}%s" % (plugin.namespace, plugin.name)
|
||||||
stanza.plugin_attrib_map[plugin.plugin_attrib] = plugin
|
stanza.plugin_attrib_map[plugin.plugin_attrib] = plugin
|
||||||
stanza.plugin_tag_map[tag] = plugin
|
stanza.plugin_tag_map[tag] = plugin
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue