Use inclusive word: logical (#83232)

Use word 'logical' instead of non-inclusive word

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/81297/head
Abhijeet Kasurde 2 years ago committed by GitHub
parent 8ad68f12ee
commit f7d7890df9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -458,7 +458,7 @@ class AnsibleModule(object):
self._selinux_mls_enabled = None self._selinux_mls_enabled = None
self._selinux_initial_context = 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() self._set_cwd()
@property @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 # not as exact as above, but should be good enough for most platforms that fail the previous call
buffer_size = select.PIPE_BUF buffer_size = select.PIPE_BUF
except Exception: except Exception:
buffer_size = 9000 # use sane default JIC buffer_size = 9000 # use logical default JIC
return buffer_size return buffer_size

@ -397,7 +397,7 @@ namespace Ansible.Process
internal static Result WaitProcess(SafeFileHandle stdoutRead, SafeFileHandle stdoutWrite, SafeFileHandle stderrRead, internal static Result WaitProcess(SafeFileHandle stdoutRead, SafeFileHandle stdoutWrite, SafeFileHandle stderrRead,
SafeFileHandle stderrWrite, FileStream stdinStream, byte[] stdin, IntPtr hProcess, string outputEncoding = null) 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; outputEncoding = String.IsNullOrEmpty(outputEncoding) ? "utf-8" : outputEncoding;
Encoding encodingInstance = Encoding.GetEncoding(outputEncoding); Encoding encodingInstance = Encoding.GetEncoding(outputEncoding);

@ -919,7 +919,7 @@ class DnfModule(YumDnf):
else: else:
return True # No stream provided, but module found 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): def ensure(self):

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/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 set -eu
verbosity=0 verbosity=0

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

Loading…
Cancel
Save