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 0faf1fa781..0a95fa84a6 100644
--- a/django/utils/archive.py
+++ b/django/utils/archive.py
@@ -126,10 +126,10 @@ class BaseArchive(object):
return True
def extract(self):
- raise NotImplementedError
+ raise NotImplementedError('subclasses of BaseArchive must provide an extract() method')
def list(self):
- raise NotImplementedError
+ raise NotImplementedError('subclasses of BaseArchive must provide a list() method')
class TarArchive(BaseArchive):