]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix typo in warning (#20620)
authorAllen <64019758+aboddie@users.noreply.github.com>
Sun, 25 Apr 2021 17:45:05 +0000 (13:45 -0400)
committerGitHub <noreply@github.com>
Sun, 25 Apr 2021 17:45:05 +0000 (10:45 -0700)
* Add space after period to warning in _tzpath.py

Currently:
InvalidTZPathWarning: Invalid paths specified in PYTHONTZPATH environment variable.Paths should be absolute but found the following relative paths: ...

* Update _tzpath.py

Lib/zoneinfo/_tzpath.py

index 9513611c17738e14c87260601c2632389566d05e..672560b9514429e18598cdada8e1a086c6b29cef 100644 (file)
@@ -42,7 +42,7 @@ def _parse_python_tzpath(env_var):
         msg = _get_invalid_paths_message(raw_tzpath)
 
         warnings.warn(
-            "Invalid paths specified in PYTHONTZPATH environment variable."
+            "Invalid paths specified in PYTHONTZPATH environment variable. "
             + msg,
             InvalidTZPathWarning,
         )