summaryrefslogtreecommitdiff
path: root/django/utils/_os.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/_os.py')
-rw-r--r--django/utils/_os.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/_os.py b/django/utils/_os.py
index f85fe09248..e9e1bcbfaf 100644
--- a/django/utils/_os.py
+++ b/django/utils/_os.py
@@ -11,8 +11,8 @@ def safe_join(base, *paths):
Join one or more path components to the base path component intelligently.
Return a normalized, absolute version of the final path.
- Raise ValueError if the final path isn't located inside of the base path
- component.
+ Raise SuspiciousFileOperation if the final path isn't located inside of the
+ base path component.
"""
final_path = abspath(join(base, *paths))
base_path = abspath(base)