From c341a90d16ed5d54af10d33ba60b490859210ba3 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Fri, 23 Mar 2012 09:39:15 -0400 Subject: [PATCH] Fix unbound local variable 'password error. Fixes an issue causing the the following error when running tempest: UnboundLocalError: local variable 'password' referenced before assignment Also, removes unused api_key param. Change-Id: If9937a2ea51116f989316e32bb1209f9a8704a6e --- tempest/openstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempest/openstack.py b/tempest/openstack.py index 69b4e3cad8..d52647bd8e 100644 --- a/tempest/openstack.py +++ b/tempest/openstack.py @@ -15,7 +15,7 @@ from tempest.services.nova.json.volumes_client import VolumesClient class Manager(object): - def __init__(self, username=None, api_key=None, tenant_name=None): + def __init__(self, username=None, password=None, tenant_name=None): """ Top level manager for all Openstack APIs """