Delete unuse variable in shell.py

Variable 'kwargs' is declaration in each judging conditions,
remove the unuseful declaration

Change-Id: I830c9d264ef88ec96de38bdb70ee634179f1d15c
This commit is contained in:
Aaron-DH 2016-01-15 17:07:44 +08:00 committed by Aaron Ding
parent 0d4e668ca7
commit 15bf8b5468

View File

@ -364,22 +364,6 @@ class MuranoShell(object):
" either --os-auth-url or via"
" env[OS_AUTH_URL]")
kwargs = {
'username': args.os_username,
'password': args.os_password,
'token': args.os_auth_token,
'tenant_id': args.os_tenant_id,
'tenant_name': args.os_tenant_name,
'auth_url': args.os_auth_url,
'service_type': args.os_service_type,
'endpoint_type': args.os_endpoint_type,
'insecure': args.insecure,
'cacert': args.os_cacert,
'include_pass': args.include_password
}
glance_kwargs = kwargs
glance_kwargs = kwargs.copy()
endpoint = args.murano_url
glance_endpoint = args.glance_url