From 8c035189629ebca424092fbf4a216d5b7222ba04 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Wed, 17 Oct 2018 07:09:59 +0200 Subject: [PATCH] Fix spelling. --- cdist/config.py | 6 +++--- cdist/core/explorer.py | 6 +++--- cdist/exec/remote.py | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cdist/config.py b/cdist/config.py index e8fd5384..11c433db 100644 --- a/cdist/config.py +++ b/cdist/config.py @@ -556,19 +556,19 @@ class Config(object): self.log.trace("Multiprocessing cargo_types: %s", cargo_types) nt = len(cargo_types) if nt == 1: - self.log.debug(("Only one type, transfering explorers " + self.log.debug(("Only one type, transferring explorers " "sequentially")) self.explorer.transfer_type_explorers(cargo_types.pop()) else: self.log.trace(("Starting multiprocessing Pool for {} " - "parallel transfering types' explorers".format( + "parallel types explorers transferring".format( nt))) args = [ (ct, ) for ct in cargo_types ] mp_pool_run(self.explorer.transfer_type_explorers, args, jobs=self.jobs) - self.log.trace(("Multiprocessing for parallel transfering " + self.log.trace(("Multiprocessing for parallel transferring " "types' explorers finished")) self.log.trace(("Starting multiprocessing Pool for {} parallel " diff --git a/cdist/core/explorer.py b/cdist/core/explorer.py index a42b0117..0b3d7b2e 100644 --- a/cdist/core/explorer.py +++ b/cdist/core/explorer.py @@ -176,14 +176,14 @@ class Explorer(object): self.log.verbose("Running type explorers for {}".format( cdist_object.cdist_type)) if transfer_type_explorers: - self.log.trace("Transfering type explorers for type: %s", + self.log.trace("Transferring type explorers for type: %s", cdist_object.cdist_type) self.transfer_type_explorers(cdist_object.cdist_type) else: - self.log.trace(("No need for transfering type explorers for " + self.log.trace(("No need for transferring type explorers for " "type: %s"), cdist_object.cdist_type) - self.log.trace("Transfering object parameters for object: %s", + self.log.trace("Transferring object parameters for object: %s", cdist_object.name) self.transfer_object_parameters(cdist_object) for explorer in self.list_type_explorer_names(cdist_object.cdist_type): diff --git a/cdist/exec/remote.py b/cdist/exec/remote.py index ffb3ee00..9e3e279e 100644 --- a/cdist/exec/remote.py +++ b/cdist/exec/remote.py @@ -190,7 +190,7 @@ class Remote(object): self.log.trace( "Archiving mode desttarpath: %s", desttarpath) # transfer archive to the remote side - self.log.trace("Archiving mode: transfering") + self.log.trace("Archiving mode: transferring") self._transfer_file(tarpath, desttarpath) # extract archive at the remote self.log.trace("Archiving mode: extracting") @@ -248,15 +248,15 @@ class Remote(object): # variable declarations # cdist command prepended with variable assignments expects - # posix shell (bourne, bash) at the remote as user default shell. - # If remote user shell isn't poxis shell, but for e.g. csh/tcsh + # POSIX shell (bourne, bash) at the remote as user default shell. + # If remote user shell isn't POSIX shell, but for e.g. csh/tcsh # then these var assignments are not var assignments for this # remote shell, it tries to execute it as a command and fails. # So really do this by default: # /bin/sh -c 'export ; command' # so that constructed remote command isn't dependent on remote # shell. Do this only if env is not None. env breaks this. - # Explicitly use /bin/sh, because var assignments assume poxis + # Explicitly use /bin/sh, because var assignments assume POSIX # shell already. # This leaves the posibility to write script that needs to be run # remotely in e.g. csh and setting up CDIST_REMOTE_SHELL to e.g.