[Epydoc-commits] SF.net SVN: epydoc: [1233] trunk/epydoc/src/epydoc/cli.py
Brought to you by:
edloper
From: <dva...@us...> - 2006-06-22 14:47:53
|
Revision: 1233 Author: dvarrazzo Date: 2006-06-22 07:47:48 -0700 (Thu, 22 Jun 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1233&view=rev Log Message: ----------- - The option "graphs: all" works in config file too. Modified Paths: -------------- trunk/epydoc/src/epydoc/cli.py Modified: trunk/epydoc/src/epydoc/cli.py =================================================================== --- trunk/epydoc/src/epydoc/cli.py 2006-06-22 14:32:06 UTC (rev 1232) +++ trunk/epydoc/src/epydoc/cli.py 2006-06-22 14:47:48 UTC (rev 1233) @@ -355,8 +355,8 @@ elif optname == 'graph': graphtypes = val.replace(',', '').split() for graphtype in graphtypes: - if graphtype not in GRAPH_TYPES: - raise ValueError('"%s" expected one of: %s.' % + if graphtype not in GRAPH_TYPES + ('all',): + raise ValueError('"%s" expected one of: all, %s.' % (optname, ', '.join(GRAPH_TYPES))) options.graphs.extend(graphtypes) elif optname in ('separate-classes', 'separate_classes'): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |