Update of /cvsroot/happydoc/HappyDoc3/happydoclib/parseinfo
In directory sc8-pr-cvs1:/tmp/cvs-serv29053/happydoclib/parseinfo
Modified Files:
__init__.py classinfo.py functioninfo.py moduleinfo.py
Log Message:
Quiet trace statements.
Index: __init__.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/parseinfo/__init__.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** __init__.py 7 Dec 2002 17:04:01 -0000 1.3
--- __init__.py 29 Dec 2002 18:36:21 -0000 1.4
***************
*** 125,128 ****
--- 125,130 ----
#
+ TRACE_LEVEL=2
+
_parser_options = {
'include_comments':1,
***************
*** 171,174 ****
--- 173,177 ----
parent=parent,
fileName=fileName,
+ outputLevel=TRACE_LEVEL,
)
f = open(fileName)
***************
*** 208,212 ****
else:
comment_info = {}
! happydoclib.TRACE.write('Creating ModuleInfo')
config_values = {}
--- 211,217 ----
else:
comment_info = {}
! happydoclib.TRACE.write('Creating ModuleInfo',
! outputLevel=TRACE_LEVEL,
! )
config_values = {}
***************
*** 220,224 ****
commentInfo=comment_info,
defaultConfigValues=config_values)
! happydoclib.TRACE.outof(mod_info)
return mod_info
--- 225,231 ----
commentInfo=comment_info,
defaultConfigValues=config_values)
! happydoclib.TRACE.outof(mod_info,
! outputLevel=TRACE_LEVEL,
! )
return mod_info
Index: classinfo.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/parseinfo/classinfo.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** classinfo.py 28 Dec 2002 16:43:32 -0000 1.2
--- classinfo.py 29 Dec 2002 18:36:21 -0000 1.3
***************
*** 68,72 ****
# Module
#
!
class ClassInfo(SuiteInfoBase):
--- 68,72 ----
# Module
#
! TRACE_LEVEL=2
class ClassInfo(SuiteInfoBase):
***************
*** 90,93 ****
--- 90,94 ----
#tree=tree,
commentInfo=commentInfo,
+ outputLevel=TRACE_LEVEL,
)
SuiteInfoBase.__init__(self, tree[2][1], parent, parent.getFilename(),
***************
*** 98,102 ****
self._class_member_info = self._extractClassMembers(tree)
#print self._class_member_info
! happydoclib.TRACE.outof()
return
--- 99,103 ----
self._class_member_info = self._extractClassMembers(tree)
#print self._class_member_info
! happydoclib.TRACE.outof(outputLevel=TRACE_LEVEL)
return
Index: functioninfo.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/parseinfo/functioninfo.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** functioninfo.py 28 Dec 2002 16:43:32 -0000 1.2
--- functioninfo.py 29 Dec 2002 18:36:21 -0000 1.3
***************
*** 69,72 ****
--- 69,73 ----
#
+ TRACE_LEVEL=2
class SuiteFuncInfo:
***************
*** 100,103 ****
--- 101,105 ----
#tree=tree,
commentInfo=commentInfo,
+ outputLevel=TRACE_LEVEL,
)
SuiteInfoBase.__init__(self, tree[2][1], parent, parent.getFilename(),
***************
*** 110,114 ****
# print 'EXCEPTIONS: ',
# pprint.pprint(self._exception_info)
! happydoclib.TRACE.outof()
return
--- 112,116 ----
# print 'EXCEPTIONS: ',
# pprint.pprint(self._exception_info)
! happydoclib.TRACE.outof(outputLevel=TRACE_LEVEL)
return
Index: moduleinfo.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/parseinfo/moduleinfo.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** moduleinfo.py 27 Dec 2002 15:52:36 -0000 1.3
--- moduleinfo.py 29 Dec 2002 18:36:21 -0000 1.4
***************
*** 77,80 ****
--- 77,82 ----
#
+ TRACE_LEVEL=2
+
class ModuleInfo(SuiteInfoBase, SuiteFuncInfo):
"""Information gatherer for source code modules.
***************
*** 112,115 ****
--- 114,118 ----
commentInfo=commentInfo,
defaultConfigValues=defaultConfigValues,
+ outputLevel=TRACE_LEVEL,
)
self._filename = fileName
***************
*** 129,133 ****
self._import_info = self._extractImportedModules(tree)
! happydoclib.TRACE.outof()
return
--- 132,136 ----
self._import_info = self._extractImportedModules(tree)
! happydoclib.TRACE.outof(outputLevel=TRACE_LEVEL)
return
|