[Epydoc-commits] SF.net SVN: epydoc: [1174] trunk/epydoc/src/epydoc/cli.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-04-05 22:02:50
|
Revision: 1174 Author: edloper Date: 2006-04-05 15:02:43 -0700 (Wed, 05 Apr 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1174&view=rev Log Message: ----------- - Added pstat option to config file Modified Paths: -------------- trunk/epydoc/src/epydoc/cli.py Modified: trunk/epydoc/src/epydoc/cli.py =================================================================== --- trunk/epydoc/src/epydoc/cli.py 2006-04-05 19:47:34 UTC (rev 1173) +++ trunk/epydoc/src/epydoc/cli.py 2006-04-05 22:02:43 UTC (rev 1174) @@ -333,8 +333,6 @@ options.parse = _str_to_bool(val, optname) elif optname == 'introspect': options.introspect = _str_to_bool(val, optname) - elif optname == 'profile': - options.profile = _str_to_bool(val, optname) elif optname == 'dotpath': options.dotpath = val elif optname == 'graph': @@ -348,6 +346,8 @@ options.list_classes_separately = _str_to_bool(val, optname) elif optname == 'sourcecode': options.include_source_code = _str_to_bool(val, optname) + elif optname == 'pstat': + options.pstat_files.extend(val.replace(',', ' ').split()) else: raise ValueError('Unknown option %s' % optname) @@ -593,7 +593,7 @@ except SystemExit: pass prof.dump_stats('profile.out') - + return # Use the pstats statistical browser. This is made unnecessarily # difficult because the whole browser is wrapped in an # if __name__=='__main__' clause. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |