[entropy.tools] is_valid_path_string: update docstring

This commit is contained in:
Fabio Erculiani
2010-07-22 11:46:16 +02:00
parent 5c6451b240
commit d3d87de9fa
+1 -1
View File
@@ -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