summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-04-14 02:19:58 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2019-04-14 02:19:58 +0100
commit72b355de8cc0d4f681f0f5b84e6c6fe9f3bedce7 (patch)
treeda81bf9b9476990ec34fb13fdb1e1ee3181c282e
parentaf246dcfe12fec43ed4332f3ecc170785ace89d7 (diff)
downloadslixmpp-72b355de8cc0d4f681f0f5b84e6c6fe9f3bedce7.tar.gz
slixmpp-72b355de8cc0d4f681f0f5b84e6c6fe9f3bedce7.tar.bz2
slixmpp-72b355de8cc0d4f681f0f5b84e6c6fe9f3bedce7.tar.xz
slixmpp-72b355de8cc0d4f681f0f5b84e6c6fe9f3bedce7.zip
xep_0050: Fix indentation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--slixmpp/plugins/xep_0050/adhoc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/slixmpp/plugins/xep_0050/adhoc.py b/slixmpp/plugins/xep_0050/adhoc.py
index 9874165d..2e3d7484 100644
--- a/slixmpp/plugins/xep_0050/adhoc.py
+++ b/slixmpp/plugins/xep_0050/adhoc.py
@@ -89,9 +89,9 @@ class XEP_0050(BasePlugin):
self.commands = {}
self.xmpp.register_handler(
- Callback("Ad-Hoc Execute",
- StanzaPath('iq@type=set/command'),
- self._handle_command))
+ Callback("Ad-Hoc Execute",
+ StanzaPath('iq@type=set/command'),
+ self._handle_command))
register_stanza_plugin(Iq, Command)
register_stanza_plugin(Command, Form, iterable=True)
@@ -468,7 +468,7 @@ class XEP_0050(BasePlugin):
**kwargs)
def send_command(self, jid, node, ifrom=None, action='execute',
- payload=None, sessionid=None, flow=False, **kwargs):
+ payload=None, sessionid=None, flow=False, **kwargs):
"""
Create and send a command stanza, without using the provided
workflow management APIs.