From 5c1f4f2755f97dcea8c5b6f91b73e4acb7898559 Mon Sep 17 00:00:00 2001 From: Nikita Konovalov Date: Mon, 7 Oct 2013 13:30:55 +0400 Subject: [PATCH] Remove timeout argument Timeout argument in client was never used. Change-Id: I42a68a285c39f39661ef1dae99e0e5ee29029a90 --- savannaclient/api/client.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/savannaclient/api/client.py b/savannaclient/api/client.py index 1c974856..d4d6d42c 100644 --- a/savannaclient/api/client.py +++ b/savannaclient/api/client.py @@ -36,8 +36,8 @@ from savannaclient.api import plugins class Client(object): def __init__(self, username=None, api_key=None, project_id=None, project_name=None, auth_url=None, savanna_url=None, - timeout=None, endpoint_type='publicURL', - service_type='mapreduce', input_auth_token=None): + endpoint_type='publicURL', service_type='mapreduce', + input_auth_token=None): if savanna_url and not isinstance(savanna_url, six.string_types): raise RuntimeError('Savanna url should be string') if (isinstance(project_name, six.string_types) or @@ -53,8 +53,7 @@ class Client(object): token=input_auth_token, tenant_id=project_id, tenant_name=project_name, - auth_url=auth_url, - timeout=timeout) + auth_url=auth_url) keystone.authenticate() token = keystone.auth_token