From d3d87de9fae998a8ef19a3d3296a782febec392f Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 22 Jul 2010 11:46:16 +0200 Subject: [PATCH] [entropy.tools] is_valid_path_string: update docstring --- libraries/entropy/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entropy/tools.py b/libraries/entropy/tools.py index 14e2d56ba..3c5a3b4c8 100644 --- a/libraries/entropy/tools.py +++ b/libraries/entropy/tools.py @@ -2560,7 +2560,7 @@ valid_path_regexp = re.compile("^([A-Za-z0-9/\.:-]+)$") def is_valid_path_string(path): """ Return whether given path is a valid path string (whitelisting valid - characters). Regexp is ^([A-Za-z0-9/\.:]+)$ and only works with ASCII + characters). Regexp is ^([A-Za-z0-9/\.:-]+)$ and only works with ASCII paths. @param path: path to test