summaryrefslogtreecommitdiff
path: root/slixmpp/stanza
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-02-05 20:46:18 +0100
committermathieui <mathieui@mathieui.net>2021-02-05 20:46:18 +0100
commitbbd351e9c1b442690b34fc7690c1e3e2d4ae7894 (patch)
tree8ee00664aac276d32acb074cc77597a3f016ffd9 /slixmpp/stanza
parentcff4588499d74e392cab646a46217f069cb1ef01 (diff)
downloadslixmpp-bbd351e9c1b442690b34fc7690c1e3e2d4ae7894.tar.gz
slixmpp-bbd351e9c1b442690b34fc7690c1e3e2d4ae7894.tar.bz2
slixmpp-bbd351e9c1b442690b34fc7690c1e3e2d4ae7894.tar.xz
slixmpp-bbd351e9c1b442690b34fc7690c1e3e2d4ae7894.zip
global: rewrite copyright notice to use comments
Diffstat (limited to 'slixmpp/stanza')
-rw-r--r--slixmpp/stanza/__init__.py11
-rw-r--r--slixmpp/stanza/atom.py11
-rw-r--r--slixmpp/stanza/error.py11
-rw-r--r--slixmpp/stanza/htmlim.py11
-rw-r--r--slixmpp/stanza/iq.py11
-rw-r--r--slixmpp/stanza/message.py11
-rw-r--r--slixmpp/stanza/presence.py11
-rw-r--r--slixmpp/stanza/rootstanza.py11
-rw-r--r--slixmpp/stanza/roster.py11
-rw-r--r--slixmpp/stanza/stream_error.py11
-rw-r--r--slixmpp/stanza/stream_features.py11
11 files changed, 44 insertions, 77 deletions
diff --git a/slixmpp/stanza/__init__.py b/slixmpp/stanza/__init__.py
index 6cd6a2c5..6e2e9718 100644
--- a/slixmpp/stanza/__init__.py
+++ b/slixmpp/stanza/__init__.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp.stanza.error import Error
from slixmpp.stanza.iq import Iq
diff --git a/slixmpp/stanza/atom.py b/slixmpp/stanza/atom.py
index 8dde00de..e02e9337 100644
--- a/slixmpp/stanza/atom.py
+++ b/slixmpp/stanza/atom.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp.xmlstream import ElementBase, register_stanza_plugin
class AtomEntry(ElementBase):
diff --git a/slixmpp/stanza/error.py b/slixmpp/stanza/error.py
index 132ffc4d..54ace5a8 100644
--- a/slixmpp/stanza/error.py
+++ b/slixmpp/stanza/error.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp.xmlstream import ElementBase, ET
diff --git a/slixmpp/stanza/htmlim.py b/slixmpp/stanza/htmlim.py
index a5a3e5f3..4ebb94eb 100644
--- a/slixmpp/stanza/htmlim.py
+++ b/slixmpp/stanza/htmlim.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp.stanza import Message
from slixmpp.xmlstream import register_stanza_plugin
from slixmpp.plugins.xep_0071 import XHTML_IM as HTMLIM
diff --git a/slixmpp/stanza/iq.py b/slixmpp/stanza/iq.py
index 0f53425b..0242308e 100644
--- a/slixmpp/stanza/iq.py
+++ b/slixmpp/stanza/iq.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp.stanza.rootstanza import RootStanza
from slixmpp.xmlstream import StanzaBase, ET
from slixmpp.xmlstream.handler import Waiter, Callback, CoroutineCallback
diff --git a/slixmpp/stanza/message.py b/slixmpp/stanza/message.py
index 716d48e0..5a3432a6 100644
--- a/slixmpp/stanza/message.py
+++ b/slixmpp/stanza/message.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp.stanza.rootstanza import RootStanza
from slixmpp.xmlstream import StanzaBase, ET
diff --git a/slixmpp/stanza/presence.py b/slixmpp/stanza/presence.py
index 7e59e1c5..297fcfea 100644
--- a/slixmpp/stanza/presence.py
+++ b/slixmpp/stanza/presence.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp.stanza.rootstanza import RootStanza
from slixmpp.xmlstream import StanzaBase
diff --git a/slixmpp/stanza/rootstanza.py b/slixmpp/stanza/rootstanza.py
index a6dd958e..351596ff 100644
--- a/slixmpp/stanza/rootstanza.py
+++ b/slixmpp/stanza/rootstanza.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
import logging
from slixmpp.exceptions import XMPPError, IqError, IqTimeout
diff --git a/slixmpp/stanza/roster.py b/slixmpp/stanza/roster.py
index b028e432..92d84491 100644
--- a/slixmpp/stanza/roster.py
+++ b/slixmpp/stanza/roster.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp.stanza import Iq
from slixmpp.xmlstream import JID
from slixmpp.xmlstream import ET, ElementBase, register_stanza_plugin
diff --git a/slixmpp/stanza/stream_error.py b/slixmpp/stanza/stream_error.py
index 2aa70173..0e728c8e 100644
--- a/slixmpp/stanza/stream_error.py
+++ b/slixmpp/stanza/stream_error.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp.stanza.error import Error
from slixmpp.xmlstream import StanzaBase
diff --git a/slixmpp/stanza/stream_features.py b/slixmpp/stanza/stream_features.py
index 027747a1..7362f17b 100644
--- a/slixmpp/stanza/stream_features.py
+++ b/slixmpp/stanza/stream_features.py
@@ -1,11 +1,8 @@
-"""
- Slixmpp: The Slick XMPP Library
- Copyright (C) 2010 Nathanael C. Fritz
- This file is part of Slixmpp.
-
- See the file LICENSE for copying permission.
-"""
+# Slixmpp: The Slick XMPP Library
+# Copyright (C) 2010 Nathanael C. Fritz
+# This file is part of Slixmpp.
+# See the file LICENSE for copying permission.
from slixmpp.xmlstream import StanzaBase