changeset 712:6ff5221f7e18

Made thread_monitor 8bit clean and added epydoc formatting.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sun, 21 May 2006 13:57:39 +0200
parents cddc53aaa7b8
children fd679c4f4665
files MoinMoin/util/thread_monitor.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/util/thread_monitor.py	Sun May 21 12:44:52 2006 +0200
+++ b/MoinMoin/util/thread_monitor.py	Sun May 21 13:57:39 2006 +0200
@@ -1,3 +1,4 @@
+# -*- coding: ascii -*-
 """
 Thread monitor - Check the state of all threads.
 
@@ -5,8 +6,8 @@
 Then you can trigger the output of tracebacks of all threads
 by calling trigger_dump().
 
-Copyright: 2006 Alexander Schremmer <alex AT alexanderweb DOT de>
-License: GNU GPL Version 2
+@copyright: 2006 Alexander Schremmer <alex AT alexanderweb DOT de>
+@license: GNU GPL Version 2
 """
 
 import sys
@@ -70,7 +71,7 @@
     hook_enabled = True
 
 def dump_regularly(seconds):
-    """ Dumps the tracebacks every `seconds` seconds. """
+    """ Dumps the tracebacks every 'seconds' seconds. """
     activate_hook()
 
     def background_dumper(seconds):