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
This commit is contained in:
Dan Prince 2012-03-23 09:39:15 -04:00
parent 1ae147e18d
commit c341a90d16

View File

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