Skip to content

Commit 0f3548e

Browse files
Fixed typos
OCD kicked in, my english teacher will be very proud
1 parent 7d1c55a commit 0f3548e

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

SoftLayer/CLI/formatting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ def gb(gigabytes): # pylint: disable=C0103
116116

117117

118118
def blank():
119-
""" Returns FormatedItem to make pretty output use a dash
119+
""" Returns FormattedItem to make pretty output use a dash
120120
and raw formatting to use NULL
121121
"""
122122
return FormattedItem(None, '-')
123123

124124

125125
def listing(items, separator=','):
126-
""" Given an iterable, returns a FormatedItem which display a list of
126+
""" Given an iterable, returns a FormattedItem which display a list of
127127
items
128128
129129
:param items: An iterable that outputs strings

SoftLayer/config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
def get_client_settings_args(**kwargs):
16-
""" Retreive client settings from user-supplied arguments
16+
""" Retrieve client settings from user-supplied arguments
1717
1818
:param \\*\\*kwargs: Arguments that are passed into the client instance
1919
"""
@@ -31,7 +31,7 @@ def get_client_settings_args(**kwargs):
3131

3232

3333
def get_client_settings_env(**_):
34-
""" Retreive client settings from environment settings
34+
""" Retrieve client settings from environment settings
3535
3636
:param \\*\\*kwargs: Arguments that are passed into the client instance
3737
"""
@@ -46,7 +46,7 @@ def get_client_settings_env(**_):
4646

4747

4848
def get_client_settings_config_file(**kwargs):
49-
""" Retreive client settings from the possible config file locations
49+
""" Retrieve client settings from the possible config file locations
5050
5151
:param \\*\\*kwargs: Arguments that are passed into the client instance
5252
"""
@@ -84,7 +84,7 @@ def get_client_settings_config_file(**kwargs):
8484

8585
def get_client_settings(**kwargs):
8686
""" Parses settings from various input methods, preferring earlier values
87-
to later ones. Once an 'auth' value is found, it returns the gathererd
87+
to later ones. Once an 'auth' value is found, it returns the gathered
8888
settings. The settings currently come from explicit user arguments,
8989
environmental variables and config files.
9090

SoftLayer/managers/hardware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ def edit(self, hardware_id, userdata=None, hostname=None, domain=None,
718718
:param string userdata: user data on the hardware to edit.
719719
If none exist it will be created
720720
:param string hostname: valid hostname
721-
:param string domain: valid domain namem
721+
:param string domain: valid domain name
722722
:param string notes: notes about this particular hardware
723723
724724
"""

SoftLayer/tests/CLI/helper_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def test_str(self):
180180
self.assertEqual('1:two', result)
181181

182182

183-
class FormatedTxnTests(unittest.TestCase):
183+
class FormattedTxnTests(unittest.TestCase):
184184
def test_active_txn_empty(self):
185185
self.assertRaises(KeyError, cli.active_txn, {})
186186

0 commit comments

Comments
 (0)