From 907be4ff641d5a03a57ba51ccf618fa7d8f252e4 Mon Sep 17 00:00:00 2001 From: Angelos Evripiotis Date: Fri, 19 Oct 2018 14:21:13 +0100 Subject: Spelling fixes: 'affect', not 'effect' as verb Fix most instances of 'effect' being used as a verb instead of a noun. Skipped generated instance in doc/source/conf.py. --- buildstream/_scheduler/queues/queue.py | 2 +- buildstream/_yaml.py | 2 +- buildstream/buildelement.py | 2 +- buildstream/plugin.py | 2 +- buildstream/plugins/elements/autotools.yaml | 2 +- buildstream/plugins/elements/cmake.yaml | 2 +- buildstream/plugins/elements/make.yaml | 2 +- buildstream/plugins/elements/manual.yaml | 2 +- buildstream/plugins/elements/meson.yaml | 2 +- buildstream/plugins/elements/qmake.yaml | 2 +- buildstream/plugins/sources/git.py | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/buildstream/_scheduler/queues/queue.py b/buildstream/_scheduler/queues/queue.py index 0e07a078f..909cebb44 100644 --- a/buildstream/_scheduler/queues/queue.py +++ b/buildstream/_scheduler/queues/queue.py @@ -208,7 +208,7 @@ class Queue(): # This will have different results for elements depending # on the Queue.status() implementation. # - # o Elements which are QueueStatus.WAIT will not be effected + # o Elements which are QueueStatus.WAIT will not be affected # # o Elements which are QueueStatus.SKIP will move directly # to the dequeue pool diff --git a/buildstream/_yaml.py b/buildstream/_yaml.py index e24d482f0..30fc77291 100644 --- a/buildstream/_yaml.py +++ b/buildstream/_yaml.py @@ -972,7 +972,7 @@ def node_validate(node, valid_keys): # # The purpose of this is to create a virtual copy-on-write # copy of a dictionary, so that mutating it in any way does -# not effect the underlying dictionaries. +# not affect the underlying dictionaries. # # collections.ChainMap covers this already mostly, but fails # to record internal state so as to hide keys which have been diff --git a/buildstream/buildelement.py b/buildstream/buildelement.py index e04ee38b0..3edc6d2a1 100644 --- a/buildstream/buildelement.py +++ b/buildstream/buildelement.py @@ -176,7 +176,7 @@ class BuildElement(Element): # Specifying notparallel for a given element effects the # cache key, while having the side effect of setting max-jobs to 1, - # which is normally automatically resolved and does not effect + # which is normally automatically resolved and does not affect # the cache key. if self.get_variable('notparallel'): dictionary['notparallel'] = True diff --git a/buildstream/plugin.py b/buildstream/plugin.py index d01cbe112..65b1b6e9d 100644 --- a/buildstream/plugin.py +++ b/buildstream/plugin.py @@ -266,7 +266,7 @@ class Plugin(): such as an sha256 sum of a tarball content. Elements and Sources should implement this by collecting any configurations - which could possibly effect the output and return a dictionary of these settings. + which could possibly affect the output and return a dictionary of these settings. For Sources, this is guaranteed to only be called if :func:`Source.get_consistency() ` diff --git a/buildstream/plugins/elements/autotools.yaml b/buildstream/plugins/elements/autotools.yaml index a6917f869..85f7393e7 100644 --- a/buildstream/plugins/elements/autotools.yaml +++ b/buildstream/plugins/elements/autotools.yaml @@ -123,7 +123,7 @@ environment: V: 1 # And dont consider MAKEFLAGS or V as something which may -# effect build output. +# affect build output. environment-nocache: - MAKEFLAGS - V diff --git a/buildstream/plugins/elements/cmake.yaml b/buildstream/plugins/elements/cmake.yaml index d38a2d226..0fb2e715a 100644 --- a/buildstream/plugins/elements/cmake.yaml +++ b/buildstream/plugins/elements/cmake.yaml @@ -66,7 +66,7 @@ environment: V: 1 # And dont consider JOBS or V as something which may -# effect build output. +# affect build output. environment-nocache: - JOBS - V diff --git a/buildstream/plugins/elements/make.yaml b/buildstream/plugins/elements/make.yaml index 1438bb52b..83e5c658f 100644 --- a/buildstream/plugins/elements/make.yaml +++ b/buildstream/plugins/elements/make.yaml @@ -36,7 +36,7 @@ environment: V: 1 # And dont consider MAKEFLAGS or V as something which may -# effect build output. +# affect build output. environment-nocache: - MAKEFLAGS - V diff --git a/buildstream/plugins/elements/manual.yaml b/buildstream/plugins/elements/manual.yaml index 32ebf2be7..cba5608cc 100644 --- a/buildstream/plugins/elements/manual.yaml +++ b/buildstream/plugins/elements/manual.yaml @@ -35,7 +35,7 @@ environment: V: 1 # And dont consider MAKEFLAGS or V as something which may -# effect build output. +# affect build output. environment-nocache: - MAKEFLAGS - V diff --git a/buildstream/plugins/elements/meson.yaml b/buildstream/plugins/elements/meson.yaml index 9636d76e7..2172cb34c 100644 --- a/buildstream/plugins/elements/meson.yaml +++ b/buildstream/plugins/elements/meson.yaml @@ -74,6 +74,6 @@ environment: %{max-jobs} # And dont consider NINJAJOBS as something which may -# effect build output. +# affect build output. environment-nocache: - NINJAJOBS diff --git a/buildstream/plugins/elements/qmake.yaml b/buildstream/plugins/elements/qmake.yaml index 38bf2dacd..4ac31932e 100644 --- a/buildstream/plugins/elements/qmake.yaml +++ b/buildstream/plugins/elements/qmake.yaml @@ -44,7 +44,7 @@ environment: V: 1 # And dont consider MAKEFLAGS or V as something which may -# effect build output. +# affect build output. environment-nocache: - MAKEFLAGS - V diff --git a/buildstream/plugins/sources/git.py b/buildstream/plugins/sources/git.py index bce399cd9..dd042a3bd 100644 --- a/buildstream/plugins/sources/git.py +++ b/buildstream/plugins/sources/git.py @@ -415,7 +415,7 @@ class GitSource(Source): def get_unique_key(self): # Here we want to encode the local name of the repository and # the ref, if the user changes the alias to fetch the same sources - # from another location, it should not effect the cache key. + # from another location, it should not affect the cache key. key = [self.original_url, self.mirror.ref] # Only modify the cache key with checkout_submodules if it's something -- cgit v1.2.1