Skip to content

Commit 4f3ee2f

Browse files
committed
Merge pull request #50 from pief/typo
Fix typos
2 parents f73c0ec + 9bbd159 commit 4f3ee2f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

foreman/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def __init__(self, url, auth=None, version=None, api_version=None,
523523
will try to get them from the remote Foreman instance (it needs
524524
you to have disabled use_cache in the apipie configuration in your
525525
foreman instance)
526-
:param sctrict_cache: If True, will not use a similar version
526+
:param strict_cache: If True, will not use a similar version
527527
definitions file
528528
:param timeout: Timeout in seconds for each http request (default 60)
529529
If None or 0, then no timeout.
@@ -685,7 +685,7 @@ def _get_local_defs(self, strict=True):
685685

686686
def _get_remote_defs(self):
687687
"""
688-
Retrieves the json definitions from remote forem
688+
Retrieves the json definitions from remote foreman instance.
689689
"""
690690
res = self.session.get(
691691
'%s/%s' % (self.url, 'apidoc/v%s.json' % self.api_version),
@@ -811,7 +811,7 @@ def _generate_api_defs(self, use_cache=True, strict_cache=True):
811811
resource_data,
812812
)
813813
if not resource_data['_own_methods']:
814-
logging.debug('Skiping empty resource %s' % resource_name)
814+
logging.debug('Skipping empty resource %s' % resource_name)
815815
continue
816816
instance = new_resource(self)
817817
setattr(self, resource_name, instance)

0 commit comments

Comments
 (0)