diff --git a/lib/ansible/constants.py b/lib/ansible/constants.py index 448c409ec47..5de9fcb59cc 100644 --- a/lib/ansible/constants.py +++ b/lib/ansible/constants.py @@ -271,11 +271,9 @@ MAGIC_VARIABLE_MAPPING = dict( ) -# INITALIZE CONFIG MANAGER -config = ConfigManager() - -# we always initalize these constants as others depend on them for basic config templating. +# we always initialize these constants as others depend on them for basic config templating. for c in __INITIALIZE: - # NOTE: We should create a dep system to avoid hardcoded list, previouslly relied on order in base.yml - # now relies on order in hardcoded constant in this file. + # NOTE: We should create a dep system to avoid a hardcoded list, + # previously relied on the order in base.yml. + # now relies on order in hardcoded constant in this file. __getattr__(c) diff --git a/test/integration/targets/deprecations/runme.sh b/test/integration/targets/deprecations/runme.sh index 4f44dab6946..00f7ed857c8 100755 --- a/test/integration/targets/deprecations/runme.sh +++ b/test/integration/targets/deprecations/runme.sh @@ -6,7 +6,7 @@ export ANSIBLE_DEPRECATION_WARNINGS=True ### check general config -# not using anything deprecated , so no notice +# not using anything deprecated, so no notice [ "$(ANSIBLE_CONFIG='entry_key_not_deprecated.cfg' ansible -m meta -a 'noop' localhost 2>&1 | grep -c 'DEPRECATION')" -eq "0" ] # entry source is deprecated, but entry is not consumed, so no notice