From bbd351e9c1b442690b34fc7690c1e3e2d4ae7894 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 5 Feb 2021 20:46:18 +0100 Subject: global: rewrite copyright notice to use comments --- slixmpp/xmlstream/handler/__init__.py | 11 ++++------- slixmpp/xmlstream/handler/base.py | 15 +++++---------- slixmpp/xmlstream/handler/callback.py | 15 +++++---------- slixmpp/xmlstream/handler/collector.py | 15 +++++---------- slixmpp/xmlstream/handler/coroutine_callback.py | 15 +++++---------- slixmpp/xmlstream/handler/waiter.py | 15 +++++---------- slixmpp/xmlstream/handler/xmlcallback.py | 11 ++++------- slixmpp/xmlstream/handler/xmlwaiter.py | 11 ++++------- 8 files changed, 37 insertions(+), 71 deletions(-) (limited to 'slixmpp/xmlstream/handler') diff --git a/slixmpp/xmlstream/handler/__init__.py b/slixmpp/xmlstream/handler/__init__.py index 51a7ca6a..5fbfc0f8 100644 --- a/slixmpp/xmlstream/handler/__init__.py +++ b/slixmpp/xmlstream/handler/__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.xmlstream.handler.callback import Callback from slixmpp.xmlstream.handler.coroutine_callback import CoroutineCallback from slixmpp.xmlstream.handler.collector import Collector diff --git a/slixmpp/xmlstream/handler/base.py b/slixmpp/xmlstream/handler/base.py index b6bff096..1e657777 100644 --- a/slixmpp/xmlstream/handler/base.py +++ b/slixmpp/xmlstream/handler/base.py @@ -1,14 +1,9 @@ -# -*- coding: utf-8 -*- -""" - slixmpp.xmlstream.handler.base - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - Part of Slixmpp: The Slick XMPP Library - - :copyright: (c) 2011 Nathanael C. Fritz - :license: MIT, see LICENSE for more details -""" +# slixmpp.xmlstream.handler.base +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Part of Slixmpp: The Slick XMPP Library +# :copyright: (c) 2011 Nathanael C. Fritz +# :license: MIT, see LICENSE for more details import weakref diff --git a/slixmpp/xmlstream/handler/callback.py b/slixmpp/xmlstream/handler/callback.py index 4cb329af..93cec6b7 100644 --- a/slixmpp/xmlstream/handler/callback.py +++ b/slixmpp/xmlstream/handler/callback.py @@ -1,14 +1,9 @@ -# -*- coding: utf-8 -*- -""" - slixmpp.xmlstream.handler.callback - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - Part of Slixmpp: The Slick XMPP Library - - :copyright: (c) 2011 Nathanael C. Fritz - :license: MIT, see LICENSE for more details -""" +# slixmpp.xmlstream.handler.callback +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Part of Slixmpp: The Slick XMPP Library +# :copyright: (c) 2011 Nathanael C. Fritz +# :license: MIT, see LICENSE for more details from slixmpp.xmlstream.handler.base import BaseHandler diff --git a/slixmpp/xmlstream/handler/collector.py b/slixmpp/xmlstream/handler/collector.py index d9e20279..8d012873 100644 --- a/slixmpp/xmlstream/handler/collector.py +++ b/slixmpp/xmlstream/handler/collector.py @@ -1,14 +1,9 @@ -# -*- coding: utf-8 -*- -""" - slixmpp.xmlstream.handler.collector - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - Part of Slixmpp: The Slick XMPP Library - - :copyright: (c) 2012 Nathanael C. Fritz, Lance J.T. Stout - :license: MIT, see LICENSE for more details -""" +# slixmpp.xmlstream.handler.collector +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Part of Slixmpp: The Slick XMPP Library +# :copyright: (c) 2012 Nathanael C. Fritz, Lance J.T. Stout +# :license: MIT, see LICENSE for more details import logging from queue import Queue, Empty diff --git a/slixmpp/xmlstream/handler/coroutine_callback.py b/slixmpp/xmlstream/handler/coroutine_callback.py index 0708a6e4..6568ba9f 100644 --- a/slixmpp/xmlstream/handler/coroutine_callback.py +++ b/slixmpp/xmlstream/handler/coroutine_callback.py @@ -1,14 +1,9 @@ -# -*- coding: utf-8 -*- -""" - slixmpp.xmlstream.handler.callback - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - Part of Slixmpp: The Slick XMPP Library - - :copyright: (c) 2011 Nathanael C. Fritz - :license: MIT, see LICENSE for more details -""" +# slixmpp.xmlstream.handler.callback +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Part of Slixmpp: The Slick XMPP Library +# :copyright: (c) 2011 Nathanael C. Fritz +# :license: MIT, see LICENSE for more details from slixmpp.xmlstream.handler.base import BaseHandler from slixmpp.xmlstream.asyncio import asyncio diff --git a/slixmpp/xmlstream/handler/waiter.py b/slixmpp/xmlstream/handler/waiter.py index b82fa5ca..758cd1f1 100644 --- a/slixmpp/xmlstream/handler/waiter.py +++ b/slixmpp/xmlstream/handler/waiter.py @@ -1,14 +1,9 @@ -# -*- coding: utf-8 -*- -""" - slixmpp.xmlstream.handler.waiter - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - Part of Slixmpp: The Slick XMPP Library - - :copyright: (c) 2011 Nathanael C. Fritz - :license: MIT, see LICENSE for more details -""" +# slixmpp.xmlstream.handler.waiter +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Part of Slixmpp: The Slick XMPP Library +# :copyright: (c) 2011 Nathanael C. Fritz +# :license: MIT, see LICENSE for more details import logging import asyncio from asyncio import Queue, wait_for, TimeoutError diff --git a/slixmpp/xmlstream/handler/xmlcallback.py b/slixmpp/xmlstream/handler/xmlcallback.py index 60ccbaed..b44b2da1 100644 --- a/slixmpp/xmlstream/handler/xmlcallback.py +++ b/slixmpp/xmlstream/handler/xmlcallback.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.handler import Callback diff --git a/slixmpp/xmlstream/handler/xmlwaiter.py b/slixmpp/xmlstream/handler/xmlwaiter.py index dc014da0..6eb6577e 100644 --- a/slixmpp/xmlstream/handler/xmlwaiter.py +++ b/slixmpp/xmlstream/handler/xmlwaiter.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.handler import Waiter -- cgit v1.2.3