summaryrefslogtreecommitdiff
path: root/examples/custom_stanzas/stanza.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-08-17 21:53:34 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-09-01 02:47:15 +0200
commit17174016ec6603afe87a65282f9b7eb55f2eafeb (patch)
tree1e815d4ab942bf3b8ac932d3a1213b7a00659e26 /examples/custom_stanzas/stanza.py
parented37174a2b40d2d90aa6a0c7f778108687d39602 (diff)
downloadslixmpp-17174016ec6603afe87a65282f9b7eb55f2eafeb.tar.gz
slixmpp-17174016ec6603afe87a65282f9b7eb55f2eafeb.tar.bz2
slixmpp-17174016ec6603afe87a65282f9b7eb55f2eafeb.tar.xz
slixmpp-17174016ec6603afe87a65282f9b7eb55f2eafeb.zip
Remove all trailing whitespaces.
Diffstat (limited to 'examples/custom_stanzas/stanza.py')
-rw-r--r--examples/custom_stanzas/stanza.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/custom_stanzas/stanza.py b/examples/custom_stanzas/stanza.py
index ba109b06..b2c6f766 100644
--- a/examples/custom_stanzas/stanza.py
+++ b/examples/custom_stanzas/stanza.py
@@ -11,7 +11,7 @@ class Action(ElementBase):
<status>X</status>
</action>
"""
-
+
#: The `name` field refers to the basic XML tag name of the
#: stanza. Here, the tag name will be 'action'.
name = 'action'
@@ -22,9 +22,9 @@ class Action(ElementBase):
#: The `plugin_attrib` value is the name that can be used
#: with a parent stanza to access this stanza. For example
#: from an Iq stanza object, accessing:
- #:
+ #:
#: iq['action']
- #:
+ #:
#: would reference an Action object, and will even create
#: an Action object and append it to the Iq stanza if
#: one doesn't already exist.
@@ -49,7 +49,7 @@ class Action(ElementBase):
#: the sub_interfaces set. For example, here all interfaces
#: are marked as sub_interfaces, and so the XML produced will
#: look like:
- #:
+ #:
#: <action xmlns="slixmpp:custom:actions">
#: <method>foo</method>
#: </action>