Commit 813e756a authored by Martijn Pieters's avatar Martijn Pieters

Clean up indentation and trailing whitespace.

parent a4a15fb6
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
# #
# Copyright (c) 2001, 2002 Zope Corporation and Contributors. # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved. # All Rights Reserved.
# #
# This software is subject to the provisions of the Zope Public License, # This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. # Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE # FOR A PARTICULAR PURPOSE
# #
############################################################################## ##############################################################################
"""Manage the asyncore mainloop in a multi-threaded app """Manage the asyncore mainloop in a multi-threaded app
...@@ -29,7 +29,7 @@ This module rebinds loop() in the asyncore module; i.e. once this ...@@ -29,7 +29,7 @@ This module rebinds loop() in the asyncore module; i.e. once this
module is imported, any client of the asyncore module will get module is imported, any client of the asyncore module will get
ThreadedAsync.loop() when it calls asyncore.loop(). ThreadedAsync.loop() when it calls asyncore.loop().
""" """
__version__='$Revision: 1.3 $'[11:-2] __version__='$Revision: 1.4 $'[11:-2]
import asyncore import asyncore
import select import select
...@@ -106,8 +106,8 @@ def loop (timeout=30.0, use_poll=0, map=None): ...@@ -106,8 +106,8 @@ def loop (timeout=30.0, use_poll=0, map=None):
asyncore.loop=loop asyncore.loop=loop
# What the heck did we just do? # What the heck did we just do?
# #
# Well, the thing is, we want to work with other asyncore aware # Well, the thing is, we want to work with other asyncore aware
# code. In particular, we don't necessarily want to make someone # code. In particular, we don't necessarily want to make someone
# import this module just to start or loop. # import this module just to start or loop.
# #
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
# #
# Copyright (c) 2001, 2002 Zope Corporation and Contributors. # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved. # All Rights Reserved.
# #
# This software is subject to the provisions of the Zope Public License, # This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. # Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE # FOR A PARTICULAR PURPOSE
# #
############################################################################## ##############################################################################
""" """
""" """
__version__='$Revision: 1.3 $'[11:-2] __version__='$Revision: 1.4 $'[11:-2]
from LoopCallback import register_loop_callback from LoopCallback import register_loop_callback
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment