diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-08-12 08:26:50 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-08-12 08:29:53 -0400 |
commit | 5c573e00a168c90c5c718566c75aadf736566676 (patch) | |
tree | 0dba4d9411304f4d29daf3569535227be8939abf /src/lib/Bcfg2/Client/Proxy.py | |
parent | 0f7edd60e67d32438a8be42002faacde4e4a7649 (diff) | |
download | bcfg2-5c573e00a168c90c5c718566c75aadf736566676.tar.gz bcfg2-5c573e00a168c90c5c718566c75aadf736566676.tar.bz2 bcfg2-5c573e00a168c90c5c718566c75aadf736566676.zip |
testsuite: fixed more unit tests
Diffstat (limited to 'src/lib/Bcfg2/Client/Proxy.py')
-rw-r--r-- | src/lib/Bcfg2/Client/Proxy.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/Bcfg2/Client/Proxy.py b/src/lib/Bcfg2/Client/Proxy.py index 98d081b10..a464d6a40 100644 --- a/src/lib/Bcfg2/Client/Proxy.py +++ b/src/lib/Bcfg2/Client/Proxy.py @@ -356,7 +356,7 @@ class ComponentProxy(xmlrpclib.ServerProxy): options = [ Bcfg2.Options.Common.location, Bcfg2.Options.Common.ssl_key, Bcfg2.Options.Common.ssl_cert, Bcfg2.Options.Common.ssl_ca, - Bcfg2.Options.Common.password, + Bcfg2.Options.Common.password, Bcfg2.Options.Common.client_timeout, Bcfg2.Options.Option( "-u", "--user", default="root", cf=('communication', 'user'), help='The user to provide for authentication'), @@ -371,11 +371,7 @@ class ComponentProxy(xmlrpclib.ServerProxy): Bcfg2.Options.Option( '--ssl-cns', cf=('communication', 'serverCommonNames'), type=Bcfg2.Options.Types.colon_list, - help='List of server commonNames'), - Bcfg2.Options.Option( - "-t", "--timeout", type=float, default=90.0, - cf=('communication', 'timeout'), - help='Set the client XML-RPC timeout')] + help='List of server commonNames')] def __init__(self): RetryMethod.max_retries = Bcfg2.Options.setup.retries @@ -394,6 +390,6 @@ class ComponentProxy(xmlrpclib.ServerProxy): Bcfg2.Options.setup.cert, Bcfg2.Options.setup.ca, Bcfg2.Options.setup.ssl_cns, - Bcfg2.Options.setup.timeout) + Bcfg2.Options.setup.client_timeout) xmlrpclib.ServerProxy.__init__(self, url, allow_none=True, transport=ssl_trans) |