netrpc flip default, backward compatible for a few days

bzr revid: al@openerp.com-20121209185651-7i4vlvul5b3jgnmy
This commit is contained in:
Antony Lesuisse 2012-12-09 19:56:51 +01:00
parent 0cfa89dff7
commit c41d63f300
1 changed files with 3 additions and 2 deletions

View File

@ -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