summaryrefslogtreecommitdiff
path: root/django/utils/feedgenerator.py
diff options
context:
space:
mode:
authorGregor MacGregor <Timothy.J.Clifford@gmail.com>2013-09-06 13:24:52 -0500
committerTim Graham <timograham@gmail.com>2013-09-10 11:09:59 -0400
commitb2b763448f726ee952743596e9a34fcb154bdb12 (patch)
tree5da48d220f856a2c8e42a0e1a19e909b7401ac59 /django/utils/feedgenerator.py
parentd59f1993f150f83524051d96b52df08da4dcf011 (diff)
Fixed #20841 -- Added messages to NotImplementedErrors
Thanks joseph at vertstudios.com for the suggestion.
Diffstat (limited to 'django/utils/feedgenerator.py')
-rw-r--r--django/utils/feedgenerator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/feedgenerator.py b/django/utils/feedgenerator.py
index e632845a84..f7fec5e7f9 100644
--- a/django/utils/feedgenerator.py
+++ b/django/utils/feedgenerator.py
@@ -177,7 +177,7 @@ class SyndicationFeed(object):
Outputs the feed in the given encoding to outfile, which is a file-like
object. Subclasses should override this.
"""
- raise NotImplementedError
+ raise NotImplementedError('subclasses of SyndicationFeed must provide a write() method')
def writeString(self, encoding):
"""