Update of /cvsroot/happydoc/HappyDoc/happydoclib
In directory usw-pr-cvs1:/tmp/cvs-serv28071/happydoclib
Modified Files:
happydocset.py
Log Message:
Added trace code.
Moved getFullOutputNameForObject() here from MultiFileDocSet.
Index: happydocset.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/happydocset.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** happydocset.py 10 Feb 2002 13:25:49 -0000 1.8
--- happydocset.py 4 Aug 2002 12:03:58 -0000 1.9
***************
*** 352,355 ****
--- 352,363 ----
+ def getFullOutputNameForObject(self, infoObject=None):
+ "Returns the output destination for documentation about this object."
+ happydoclib.TRACE.into('DocSet', 'getFullOutputNameForObject',
+ infoObject=infoObject)
+ output_name = self._formatter.getFullOutputNameForObject(infoObject)
+ happydoclib.TRACE.outof(output_name)
+ return output_name
+
##
## External documents
***************
*** 578,586 ****
def getFileInfo(self, fileName):
"Parse the file and return the parseinfo instance for it."
self.statusMessage('Getting info for %s' % fileName)
! return self._parser_func( fileName,
self._include_comments,
self._default_parser_config_values,
)
def lookForPrewrittenFiles(self, dirName):
--- 586,599 ----
def getFileInfo(self, fileName):
"Parse the file and return the parseinfo instance for it."
+ happydoclib.TRACE.into('DocSet', 'getFileInfo',
+ fileName=fileName,
+ )
self.statusMessage('Getting info for %s' % fileName)
! info = self._parser_func( fileName,
self._include_comments,
self._default_parser_config_values,
)
+ happydoclib.TRACE.outof(info)
+ return info
def lookForPrewrittenFiles(self, dirName):
***************
*** 692,695 ****
--- 705,709 ----
moduleFileName(file_name)
):
+ happydoclib.TRACE.write('regular module file')
#
# Record that we paid attention to this file
|