[FIX] Remove the default values on the --no-netrpc and --no-xmlrpc

flags of the command line. The system will check if these flags are
None or not.

lp bug: https://launchpad.net/bugs/531430 fixed

bzr revid: stephane@openerp.com-20100315123908-6j6ii72g7ed4rvxn
This commit is contained in:
Stephane Wirtel 2010-03-15 13:39:08 +01:00
parent c6ea518fbd
commit 6e90109b67
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ class configmanager(object):
parser.add_option("-p", "--port", dest="port", help="specify the TCP port", type="int")
parser.add_option("--net_interface", dest="netinterface", help="specify the TCP IP address for netrpc")
parser.add_option("--net_port", dest="netport", help="specify the TCP port for netrpc", type="int")
parser.add_option("--no-netrpc", dest="netrpc", action="store_false", default=True, help="disable netrpc")
parser.add_option("--no-xmlrpc", dest="xmlrpc", action="store_false", default=True, help="disable xmlrpc")
parser.add_option("--no-netrpc", dest="netrpc", action="store_false", help="disable netrpc")
parser.add_option("--no-xmlrpc", dest="xmlrpc", action="store_false", help="disable xmlrpc")
parser.add_option("-i", "--init", dest="init", help="init a module (use \"all\" for all modules)")
parser.add_option("--without-demo", dest="without_demo",
help="load demo data for a module (use \"all\" for all modules)", default=False)