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 b26924cc2a..15326eb18c 100644
--- a/django/utils/archive.py
+++ b/django/utils/archive.py
@@ -40,7 +40,7 @@ class UnrecognizedArchiveFormat(ArchiveException):
"""
-def extract(path, to_path=''):
+def extract(path, to_path):
"""
Unpack the tar or zip file at the specified path to the directory
specified by to_path.
@@ -83,7 +83,7 @@ class Archive:
def __exit__(self, exc_type, exc_value, traceback):
self.close()
- def extract(self, to_path=''):
+ def extract(self, to_path):
self._archive.extract(to_path)
def list(self):