Apply suggestions from code review of branch 523-improve-validation-checks
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
This commit is contained in:
parent
2395234322
commit
14b3e5a627
1 changed files with 2 additions and 1 deletions
|
|
@ -201,7 +201,8 @@ def _sanitise_reserved(name: str, is_filename: bool = True) -> str:
|
|||
|
||||
:param name: The component to check.
|
||||
:param is_filename: Whether the component is a filename.
|
||||
If True, names will be forced into lowercase.
|
||||
If True, names will be forced into lowercase.
|
||||
|
||||
:returns: The sanitised component, in lower case.
|
||||
"""
|
||||
# Check for Windows reserved names.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue