Skip to content

Commit 8aa0b07

Browse files
committed
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
1 parent 6323633 commit 8aa0b07

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎openstackclient/common/openstackkeyring.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def _init_crypter(self):
3737
block_size = 32
3838
padding = '0'
3939

40-
# init the cipher with the class name, upto block_size
40+
# init the cipher with the class name, up to block_size
4141
password = __name__[block_size:]
4242
password = password + (block_size - len(password) %
4343
block_size) * padding

‎openstackclient/tests/volume/v1/fakes.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
'display_description': volume_description,
3333
'size': volume_size,
3434
'status': '',
35-
'attach_status': 'detatched',
35+
'attach_status': 'detached',
3636
'metadata': volume_metadata,
3737
}
3838

‎openstackclient/tests/volume/v1/test_volume.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_volume_create_min_options(self):
105105
)
106106
self.assertEqual(columns, collist)
107107
datalist = (
108-
'detatched',
108+
'detached',
109109
volume_fakes.volume_description,
110110
volume_fakes.volume_name,
111111
volume_fakes.volume_id,
@@ -181,7 +181,7 @@ def test_volume_create_user_project_id(self):
181181
)
182182
self.assertEqual(columns, collist)
183183
datalist = (
184-
'detatched',
184+
'detached',
185185
volume_fakes.volume_description,
186186
volume_fakes.volume_name,
187187
volume_fakes.volume_id,
@@ -257,7 +257,7 @@ def test_volume_create_user_project_name(self):
257257
)
258258
self.assertEqual(columns, collist)
259259
datalist = (
260-
'detatched',
260+
'detached',
261261
volume_fakes.volume_description,
262262
volume_fakes.volume_name,
263263
volume_fakes.volume_id,

0 commit comments

Comments
 (0)