From 17174016ec6603afe87a65282f9b7eb55f2eafeb Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 17 Aug 2014 21:53:34 +0200 Subject: Remove all trailing whitespaces. --- examples/custom_stanzas/custom_stanza_user.py | 2 +- examples/custom_stanzas/stanza.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/custom_stanzas') diff --git a/examples/custom_stanzas/custom_stanza_user.py b/examples/custom_stanzas/custom_stanza_user.py index 4e8337f2..66bad523 100755 --- a/examples/custom_stanzas/custom_stanza_user.py +++ b/examples/custom_stanzas/custom_stanza_user.py @@ -82,7 +82,7 @@ class ActionUserBot(slixmpp.ClientXMPP): iq2['type'] = 'set' iq2['action']['method'] = 'bye' iq2.send(block=False) - + # The wait=True delays the disconnect until the queue # of stanzas to be sent becomes empty. self.disconnect(wait=True) 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): X """ - + #: 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: - #: + #: #: #: foo #: -- cgit v1.2.3