From cf27f5f8a412704eb4e5e8d6e091c7e98e39024c Mon Sep 17 00:00:00 2001 From: David Wolever Date: Mon, 25 Feb 2008 22:17:07 +0000 Subject: forgot to include the extension in the error message. --- markdown.py | 4 ++-- 1 file 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()) -- cgit v1.2.3