diff options
author | David Wolever <wolever@cs.toronto.edu> | 2008-02-25 22:17:07 +0000 |
---|---|---|
committer | David Wolever <wolever@cs.toronto.edu> | 2008-02-25 22:17:07 +0000 |
commit | cf27f5f8a412704eb4e5e8d6e091c7e98e39024c (patch) | |
tree | 6f6a414b6c03c403d773df06f8d92027b5244ca9 | |
parent | 2286978cbb105cda17beca85f3b2a7865e0d4bc3 (diff) | |
download | markdown-cf27f5f8a412704eb4e5e8d6e091c7e98e39024c.tar.gz markdown-cf27f5f8a412704eb4e5e8d6e091c7e98e39024c.tar.bz2 markdown-cf27f5f8a412704eb4e5e8d6e091c7e98e39024c.zip |
forgot to include the extension in the error message.
-rw-r--r-- | markdown.py | 4 |
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()) |