mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
committed by
Florence Blanc-Renaud
parent
523f70ae46
commit
5c09dcdb98
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user