updateHostsFile.py: use a raw string for comment

This fixes a SyntaxWarning with Python 3.12:

```
 /home/runner/work/hosts/hosts/updateHostsFile.py:1386: SyntaxWarning: invalid escape sequence '\W'
  """
```
This commit is contained in:
XhmikosR 2024-04-03 08:18:10 +03:00 committed by GitHub
parent bd064ee1ed
commit ae8c5b1cba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1383,7 +1383,7 @@ def update_readme_data(readme_file, **readme_updates):
def move_hosts_file_into_place(final_file):
"""
r"""
Move the newly-created hosts file into its correct location on the OS.
For UNIX systems, the hosts file is "etc/hosts." On Windows, it's