diff options
author | Haiwei Xu <xu-haiwei@mxw.nes.nec.co.jp> | 2014-02-13 02:45:51 +0900 |
---|---|---|
committer | Haiwei Xu <xu-haiwei@mxw.nes.nec.co.jp> | 2014-02-13 17:34:19 +0900 |
commit | 8edc9b6a6ab6ce6aa9a23b531cae92e637d1104d (patch) | |
tree | 2fbf4d8ab1473b1e21606cfbfaaaa0d4de7248be | |
parent | f6fdff657f079c83b2c3702380218c2b546ee632 (diff) | |
download | python-novaclient-8edc9b6a6ab6ce6aa9a23b531cae92e637d1104d.tar.gz |
Fix spelling miss of password_func variable
In novaclient/shell.py there is a variable called 'password_fun'
which isn't used anywhere.
In fact it's a spelling miss, and should be modified to 'password_func'
which is used in novaclient/client.py
This patch fixes this bug.
Change-Id: Ibb8e95a2efc77575dcc8544584c708c5c62b7dea
-rw-r--r-- | novaclient/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/novaclient/shell.py b/novaclient/shell.py index 3f17091f..e10b5823 100644 --- a/novaclient/shell.py +++ b/novaclient/shell.py @@ -669,7 +669,7 @@ class OpenStackComputeShell(object): self.cs.client.tenant_id = tenant_id self.cs.client.auth_token = auth_token self.cs.client.management_url = management_url - self.cs.client.password_fun = lambda: helper.password + self.cs.client.password_func = lambda: helper.password elif use_pw: # We're missing something, so auth with user/pass and save # the result in our helper. |