[Epydoc-commits] SF.net SVN: epydoc: [1179] trunk/epydoc/src/epydoc/cli.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-04-06 04:35:20
|
Revision: 1179 Author: edloper Date: 2006-04-05 21:35:12 -0700 (Wed, 05 Apr 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1179&view=rev Log Message: ----------- - Fixed bug with "--graph all" option. Modified Paths: -------------- trunk/epydoc/src/epydoc/cli.py Modified: trunk/epydoc/src/epydoc/cli.py =================================================================== --- trunk/epydoc/src/epydoc/cli.py 2006-04-06 04:34:20 UTC (rev 1178) +++ trunk/epydoc/src/epydoc/cli.py 2006-04-06 04:35:12 UTC (rev 1179) @@ -267,8 +267,10 @@ # If it's 'all', then add everything (but don't add callgraph if # we don't have any profiling info to base them on). if graph_type == 'all': - options.graphs = GRAPH_TYPES - if not options.pstat_files: option.graphs.remove('callgraph') + if options.pstat_files: + options.graphs = GRAPH_TYPES + else: + options.graphs = [g for g in GRAPH_TYPES if g != 'callgraph'] break elif graph_type not in GRAPH_TYPES: optparser.error("Invalid graph type %s." % graph_type) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |