summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/stanza_pubsub.py
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-05-25 10:33:24 +0800
committerThom Nichols <tmnichols@gmail.com>2010-06-01 22:07:51 +0800
commit8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea (patch)
tree19a25140d5ba7d1ccce77e765433352e7ea67b05 /sleekxmpp/plugins/stanza_pubsub.py
parente00dea7c0cc8d973aeebcfdb045c82923d0acdef (diff)
downloadslixmpp-8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea.tar.gz
slixmpp-8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea.tar.bz2
slixmpp-8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea.tar.xz
slixmpp-8b3b8aca9ef3dc4215a0eb528259a5fd6f7137ea.zip
updated README, index fix for component
Diffstat (limited to 'sleekxmpp/plugins/stanza_pubsub.py')
-rw-r--r--sleekxmpp/plugins/stanza_pubsub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/stanza_pubsub.py b/sleekxmpp/plugins/stanza_pubsub.py
index 4187d49c..1dd73d99 100644
--- a/sleekxmpp/plugins/stanza_pubsub.py
+++ b/sleekxmpp/plugins/stanza_pubsub.py
@@ -281,7 +281,7 @@ class DefaultConfig(ElementBase):
def getType(self):
t = self._getAttr('type')
- if not t: t == 'leaf'
+ if not t: t = 'leaf'
return t
stanzaPlugin(PubsubOwner, DefaultConfig)