summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/stanza_pubsub.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/plugins/stanza_pubsub.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/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)