[FIX] Remove the default values on the --no-netrpc and --no-xmlrpc
authorStephane Wirtel <stephane@openerp.com>
Mon, 15 Mar 2010 12:27:55 +0000 (13:27 +0100)
committerStephane Wirtel <stephane@openerp.com>
Mon, 15 Mar 2010 12:27:55 +0000 (13:27 +0100)
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-20100315122755-q055yyh41rsfbu3e

bin/tools/config.py

index ef4920a..a75fcc6 100644 (file)
@@ -99,8 +99,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)