From 8aa0b07fbc4dd3cd2c7d99513407b652eaa39d85 Mon Sep 17 00:00:00 2001 From: Shane Wang Date: Fri, 7 Feb 2014 13:25:43 +0800 Subject: 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 --- openstackclient/common/openstackkeyring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstackclient/common/openstackkeyring.py') 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 -- cgit v1.2.1