From c41d63f3001db324b78d330e205ae55c37aad98f Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Sun, 9 Dec 2012 19:56:51 +0100 Subject: [PATCH] netrpc flip default, backward compatible for a few days bzr revid: al@openerp.com-20121209185651-7i4vlvul5b3jgnmy --- openerp/tools/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openerp/tools/config.py b/openerp/tools/config.py index 6e37ed37e4d..8df5f2c5023 100644 --- a/openerp/tools/config.py +++ b/openerp/tools/config.py @@ -146,8 +146,9 @@ class configmanager(object): help="specify the TCP IP address for the NETRPC protocol") group.add_option("--netrpc-port", dest="netrpc_port", my_default=8070, help="specify the TCP port for the NETRPC protocol", type="int") - group.add_option("--netrpc", dest="netrpc", action="store_true", my_default=False, - help="disable the NETRPC protocol") + # Needed a few day for runbot and saas + group.add_option("--no-netrpc", dest="netrpc", action="store_false", my_default=False, help="disable the NETRPC protocol") + group.add_option("--netrpc", dest="netrpc", action="store_true", my_default=False, help="enable the NETRPC protocol") parser.add_option_group(group) # WEB