aboutsummaryrefslogtreecommitdiffstats
path: root/markdown.py
diff options
context:
space:
mode:
authorDavid Wolever <wolever@cs.toronto.edu>2008-02-25 22:17:07 +0000
committerDavid Wolever <wolever@cs.toronto.edu>2008-02-25 22:17:07 +0000
commitcf27f5f8a412704eb4e5e8d6e091c7e98e39024c (patch)
tree6f6a414b6c03c403d773df06f8d92027b5244ca9 /markdown.py
parent2286978cbb105cda17beca85f3b2a7865e0d4bc3 (diff)
downloadmarkdown-cf27f5f8a412704eb4e5e8d6e091c7e98e39024c.tar.gz
markdown-cf27f5f8a412704eb4e5e8d6e091c7e98e39024c.tar.bz2
markdown-cf27f5f8a412704eb4e5e8d6e091c7e98e39024c.zip
forgot to include the extension in the error message.
Diffstat (limited to 'markdown.py')
-rw-r--r--markdown.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown.py b/markdown.py
index 9442612..709ed50 100644
--- a/markdown.py
+++ b/markdown.py
@@ -1238,8 +1238,8 @@ class Markdown:
elif isinstance(ext, Extension):
pass # nothing to do here
else:
- message(ERROR, "Incorrect type! Extension %s is "
- "neither a string or an Extension.")
+ message(ERROR, "Incorrect type! Extension '%s' is "
+ "neither a string or an Extension." %(repr(ext)))
continue
ext.extendMarkdown(self, globals())