[Zope-Checkins] CVS: Zope2 - dispatcher.py:1.1.2.6
Andreas Jung
andreas@dhcp165.digicool.com
Mon, 12 Mar 2001 12:58:23 -0500
Update of /mnt/cvs-repository/Zope2/lib/python/Testing
In directory yetix:/work/Zope2/Catalog-BTrees-Integration/lib/python/Testing
Modified Files:
Tag: Catalog-BTrees-Integration
dispatcher.py
Log Message:
additional logging of __doc__
--- Updated File dispatcher.py in package Zope2 --
--- dispatcher.py 2001/03/12 17:39:02 1.1.2.5
+++ dispatcher.py 2001/03/12 17:58:22 1.1.2.6
@@ -25,6 +25,8 @@
self.lock = threading.Lock()
self.func = func
self.profiling = 0
+
+ self.doc = getattr(self,self.func).__doc__
def setlog(self,fp):
self.fp = fp
@@ -79,8 +81,9 @@
for th in self._threads: th.start()
while threading.activeCount() > 1: time.sleep(1)
- self.logn('FUNC: %s ' % self.func)
self.logn('ID: %s ' % self.name)
+ self.logn('FUNC: %s ' % self.func)
+ self.logn('DOC: %s ' % self.doc)
self.logn('Args: %s' % params)
for th in self._threads: