diff options
| author | Shane Wang <shane.wang@intel.com> | 2014-02-07 13:25:43 +0800 |
|---|---|---|
| committer | Shane Wang <shane.wang@intel.com> | 2014-02-07 13:26:48 +0800 |
| commit | 8aa0b07fbc4dd3cd2c7d99513407b652eaa39d85 (patch) | |
| tree | 2810892a2337b957c75714742bdc84cfba895f12 /openstackclient/common/openstackkeyring.py | |
| parent | 632363328b6bcdfb562e2822cd033967adcf4b6c (diff) | |
| download | python-openstackclient-8aa0b07fbc4dd3cd2c7d99513407b652eaa39d85.tar.gz | |
Fix misspellings in python openstackclient
Fix misspellings detected by:
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -
Change-Id: Ic0d3efa26eb9a05ce16a8319c142f5bd1ce23821
Closes-Bug: #1257295
Diffstat (limited to 'openstackclient/common/openstackkeyring.py')
| -rw-r--r-- | openstackclient/common/openstackkeyring.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/common/openstackkeyring.py b/openstackclient/common/openstackkeyring.py index e60ce71c..115e5644 100644 --- a/openstackclient/common/openstackkeyring.py +++ b/openstackclient/common/openstackkeyring.py @@ -37,7 +37,7 @@ class OpenstackKeyring(keyring.backends.file.BaseKeyring): block_size = 32 padding = '0' - # init the cipher with the class name, upto block_size + # init the cipher with the class name, up to block_size password = __name__[block_size:] password = password + (block_size - len(password) % block_size) * padding |
