summaryrefslogtreecommitdiff
path: root/django/utils/archive.py
diff options
context:
space:
mode:
authorAnton Samarchyan <anton.samarchyan@savoirfairelinux.com>2017-01-24 15:32:33 -0500
committerTim Graham <timograham@gmail.com>2017-02-11 16:11:08 -0500
commit9718fa2e8abe430c3526a9278dd976443d4ae3c6 (patch)
treecc9e2c659759bbfdb4c7785c59a909cb2655af0d /django/utils/archive.py
parent98bcc5d81bca578f3a5b4d47907ba4ac40446887 (diff)
Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.
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: