|
From: <cm...@us...> - 2006-06-05 23:43:48
|
Revision: 1235 Author: cmoad Date: 2006-06-05 06:15:44 -0700 (Mon, 05 Jun 2006) ViewCVS: http://svn.sourceforge.net/pywebsvcs/?rev=1235&view=rev Log Message: ----------- forgot to add optional args to wsdl2dispatch Modified Paths: -------------- trunk/zsi/ZSI/generate/commands.py Modified: trunk/zsi/ZSI/generate/commands.py =================================================================== --- trunk/zsi/ZSI/generate/commands.py 2006-06-04 22:04:29 UTC (rev 1234) +++ trunk/zsi/ZSI/generate/commands.py 2006-06-05 13:15:44 UTC (rev 1235) @@ -217,7 +217,7 @@ fd.close() -def wsdl2dispatch(): +def wsdl2dispatch(args=None): """ wsdl2dispatch @@ -250,7 +250,11 @@ op.add_option("-s", "--simple-naming", action="store_true", dest="simple_naming", default=False, help="Simplify generated naming.") - (options, args) = op.parse_args() + + if args is None: + (options, args) = op.parse_args() + else: + (options, args) = op.parse_args(args) if options.simple_naming: ServiceDescription.server_module_suffix = '_interface' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |