summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0060
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-01-10 02:18:07 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-01-10 02:18:07 +0100
commit20e88fda50832c8a3412586da58f19df2325fef7 (patch)
tree8d56b328aec4a543ae2fc35bf7b2712a24f24e6b /slixmpp/plugins/xep_0060
parentf252be9b6d617ad02f7c9420e62ba6948374c0d1 (diff)
downloadslixmpp-20e88fda50832c8a3412586da58f19df2325fef7.tar.gz
slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.tar.bz2
slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.tar.xz
slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.zip
Fix typos, thanks `codespell`!
Diffstat (limited to 'slixmpp/plugins/xep_0060')
-rw-r--r--slixmpp/plugins/xep_0060/stanza/pubsub.py6
-rw-r--r--slixmpp/plugins/xep_0060/stanza/pubsub_event.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/slixmpp/plugins/xep_0060/stanza/pubsub.py b/slixmpp/plugins/xep_0060/stanza/pubsub.py
index 210bce08..642d7963 100644
--- a/slixmpp/plugins/xep_0060/stanza/pubsub.py
+++ b/slixmpp/plugins/xep_0060/stanza/pubsub.py
@@ -82,9 +82,9 @@ class Item(ElementBase):
self.xml.append(value)
def get_payload(self):
- childs = list(self.xml)
- if len(childs) > 0:
- return childs[0]
+ children = list(self.xml)
+ if len(children) > 0:
+ return children[0]
def del_payload(self):
for child in self.xml:
diff --git a/slixmpp/plugins/xep_0060/stanza/pubsub_event.py b/slixmpp/plugins/xep_0060/stanza/pubsub_event.py
index e46ad408..81ed1917 100644
--- a/slixmpp/plugins/xep_0060/stanza/pubsub_event.py
+++ b/slixmpp/plugins/xep_0060/stanza/pubsub_event.py
@@ -31,9 +31,9 @@ class EventItem(ElementBase):
self.xml.append(value)
def get_payload(self):
- childs = list(self.xml)
- if len(childs) > 0:
- return childs[0]
+ children = list(self.xml)
+ if len(children) > 0:
+ return children[0]
def del_payload(self):
for child in self.xml: