Skip to content

Commit 78d13ed

Browse files
committed
Spelling fixes
Signed-off-by: Cleber Rosa <[email protected]>
1 parent 3dd9dcf commit 78d13ed

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

avocado/core/settings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ def __init__(self, config_path=None):
226226
if not self.config_paths:
227227
raise ConfigFileNotFound(self.all_config_paths)
228228

229-
def process_config_path(self, pth):
229+
def process_config_path(self, path_):
230230
"""
231-
Update list of config paths and process the given pth
231+
Update list of config paths and process the given path
232232
"""
233-
self.all_config_paths.append(pth)
234-
self.config_paths.extend(self.config.read(pth))
233+
self.all_config_paths.append(path_)
234+
self.config_paths.extend(self.config.read(path_))
235235

236236
def _handle_no_value(self, section, key, default):
237237
"""

avocado/utils/asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def _get_relative_dir(self, parsed_url):
111111
overwriting it if the file is corrupted or expired. These
112112
will be stored in the cache directory indexed by name.
113113
114-
When an asset name is an URL, wether it has a hash or not, it
114+
When an asset name is an URL, whether it has a hash or not, it
115115
will be saved according to their locations, so that multiple
116116
assets with the same file name, but completely unrelated to
117117
each other, will still coexist.

avocado/utils/path.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def usable_rw_dir(directory, create=True):
146146
Checks for appropriate permissions, and creates missing dirs as needed.
147147
148148
:param directory: Directory
149-
:param create: wether to create the directory
149+
:param create: whether to create the directory
150150
"""
151151
if os.path.isdir(directory):
152152
try:
@@ -174,7 +174,7 @@ def usable_ro_dir(directory, create=True):
174174
least try to create one.
175175
176176
:param directory: Directory
177-
:param create: wether to create the directory
177+
:param create: whether to create the directory
178178
"""
179179
cwd = os.getcwd()
180180
if os.path.isdir(directory):

spell.ignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,3 +613,9 @@ gzip
613613
pdimitrov
614614
pevogam
615615
UDP
616+
asparent
617+
onwards
618+
OrderedDict
619+
configs
620+
whitespaces
621+
passtest

0 commit comments

Comments
 (0)