summaryrefslogtreecommitdiff
path: root/django/utils/archive.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/archive.py')
-rw-r--r--django/utils/archive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/archive.py b/django/utils/archive.py
index 1dd3f9d660..879f3c49f7 100644
--- a/django/utils/archive.py
+++ b/django/utils/archive.py
@@ -119,8 +119,8 @@ class BaseArchive:
def has_leading_dir(self, paths):
"""
- Returns true if all the paths have the same leading path name
- (i.e., everything is in one subdirectory in an archive)
+ Return True if all the paths have the same leading path name
+ (i.e., everything is in one subdirectory in an archive).
"""
common_prefix = None
for path in paths: