summaryrefslogtreecommitdiff
path: root/examples/http_over_xmpp.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-02-05 21:18:12 +0100
committermathieui <mathieui@mathieui.net>2021-02-05 21:18:12 +0100
commitfb74e46c355932db1691865d84c57dc59edb38fb (patch)
treeeebb892e6ac22748fda1928fb405d1fbddd6f130 /examples/http_over_xmpp.py
parentcff4588499d74e392cab646a46217f069cb1ef01 (diff)
parent603cbccddd716c639814e926fdeedf525160ab11 (diff)
downloadslixmpp-fb74e46c355932db1691865d84c57dc59edb38fb.tar.gz
slixmpp-fb74e46c355932db1691865d84c57dc59edb38fb.tar.bz2
slixmpp-fb74e46c355932db1691865d84c57dc59edb38fb.tar.xz
slixmpp-fb74e46c355932db1691865d84c57dc59edb38fb.zip
Merge branch 'rewrite-copyright-notices' into 'master'
Rewrite copyright notices to use comments and not docstrings See merge request poezio/slixmpp!121
Diffstat (limited to 'examples/http_over_xmpp.py')
-rw-r--r--examples/http_over_xmpp.py17
1 files changed, 6 insertions, 11 deletions
diff --git a/examples/http_over_xmpp.py b/examples/http_over_xmpp.py
index 013f301b..9af708ad 100644
--- a/examples/http_over_xmpp.py
+++ b/examples/http_over_xmpp.py
@@ -1,15 +1,11 @@
#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-"""
- Slixmpp: The Slick XMPP Library
- Implementation of HTTP over XMPP transport
- http://xmpp.org/extensions/xep-0332.html
- Copyright (C) 2015 Riptide IO, sangeeth@riptideio.com
- This file is part of slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Implementation of HTTP over XMPP transport
+# http://xmpp.org/extensions/xep-0332.html
+# Copyright (C) 2015 Riptide IO, sangeeth@riptideio.com
+# This file is part of slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp import ClientXMPP
@@ -94,4 +90,3 @@ if __name__ == '__main__':
xmpp = HTTPOverXMPPClient(args.jid, args.password)
xmpp.connect()
xmpp.process()
-