Grammar: whitespace is a word

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abbra@users.noreply.github.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Christian Heimes 2020-06-11 14:24:29 +02:00 committed by Florence Blanc-Renaud
parent 523f70ae46
commit 5c09dcdb98
5 changed files with 6 additions and 6 deletions

View File

@ -151,7 +151,7 @@ def isvalid_base64(data):
The character set must only include of a-z, A-Z, 0-9, + or / and
be padded with = to be a length divisible by 4 (so only 0-2 =s are
allowed). Its length must be divisible by 4. White space is
allowed). Its length must be divisible by 4. Whitespace is
not significant so it is removed.
This doesn't guarantee we have a base64-encoded value, just that it

View File

@ -138,7 +138,7 @@ def set_directive_lines(quotes, separator, k, v, lines, comment):
v_quoted = quote_directive_value(v, '"') if quotes else v
new_line = ''.join([k, separator, v_quoted, '\n'])
# Special case: consider space as "white space" so tabs are allowed
# Special case: consider space as "whitespace" so tabs are allowed
if separator == ' ':
separator = '[ \t]+'
@ -178,7 +178,7 @@ def get_directive(filename, directive, separator=' '):
:returns: The (unquoted) value if the directive was found, None otherwise
"""
# Special case: consider space as "white space" so tabs are allowed
# Special case: consider space as "whitespace" so tabs are allowed
if separator == ' ':
separator = '[ \t]+'

View File

@ -80,7 +80,7 @@ def validate_dm_password(password):
# Actual behavior of setup-ds.pl is that it does not accept white
# space characters in password when called interactively but does when
# provided such password in INF file. But it ignores leading and trailing
# white spaces in INF file.
# whitespaces in INF file.
# Disallow leading/trailing whaitespaces
if password.strip() != password:

View File

@ -913,7 +913,7 @@ class P11_Helper:
check_return_value(rv, 'get token info')
# softhsm always returns label 32 bytes long with padding made of
# white spaces (#32), so we have to rstrip() padding and compare
# whitespaces (#32), so we have to rstrip() padding and compare
# Label was created by softhsm-util so it is not our fault that
# there are #32 as padding (cffi initializes structures with
# zeroes)

View File

@ -294,7 +294,7 @@ class TestIpaClientAutomountFileRestore(IntegrationTest):
):
# In order to get a more pure sum, one that ignores the Generated
# header and any white space we have to do a bit of work...
# header and any whitespace we have to do a bit of work...
sha256nsswitch_cmd = \
'egrep -v "Generated|^$" /etc/nsswitch.conf | sed "s/\\s//g" ' \
'| sort | sha256sum'