Use inclusive word: logical

Use word 'logical' instead of non-inclusive word

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/83232/head
Abhijeet Kasurde 3 weeks ago
parent 036d14f1e6
commit 3059f17403

@ -458,7 +458,7 @@ class AnsibleModule(object):
self._selinux_mls_enabled = None
self._selinux_initial_context = None
# finally, make sure we're in a sane working dir
# finally, make sure we're in a logical working dir
self._set_cwd()
@property
@ -2054,7 +2054,7 @@ class AnsibleModule(object):
# not as exact as above, but should be good enough for most platforms that fail the previous call
buffer_size = select.PIPE_BUF
except Exception:
buffer_size = 9000 # use sane default JIC
buffer_size = 9000 # use logical default JIC
return buffer_size

@ -397,7 +397,7 @@ namespace Ansible.Process
internal static Result WaitProcess(SafeFileHandle stdoutRead, SafeFileHandle stdoutWrite, SafeFileHandle stderrRead,
SafeFileHandle stderrWrite, FileStream stdinStream, byte[] stdin, IntPtr hProcess, string outputEncoding = null)
{
// Default to using UTF-8 as the output encoding, this should be a sane default for most scenarios.
// Default to using UTF-8 as the output encoding, this should be a logical default for most scenarios.
outputEncoding = String.IsNullOrEmpty(outputEncoding) ? "utf-8" : outputEncoding;
Encoding encodingInstance = Encoding.GetEncoding(outputEncoding);

@ -919,7 +919,7 @@ class DnfModule(YumDnf):
else:
return True # No stream provided, but module found
return False # seems like a sane default
return False # seems like a logical default
def ensure(self):

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# always set sane error behaviors, enable execution tracing later if sufficient verbosity requested
# always set logical error behaviors, enable execution tracing later if sufficient verbosity requested
set -eu
verbosity=0

@ -319,13 +319,13 @@
dest: /etc/apt/sources.list.d/non-existing.list
content: deb http://ppa.launchpad.net/non-existing trusty main
- name: test for sane error message
- name: test for logical error message
apt:
update_cache: yes
register: apt_result
ignore_errors: yes
- name: verify sane error message
- name: verify logical error message
assert:
that:
- "'Failed to fetch' in apt_result['msg']"

Loading…
Cancel
Save