Mercurial > moin > 1.9
diff MoinMoin/macro/__init__.py @ 2549:fb88a3706761
macro invoker doesn't need to catch TypeError any more
author | Johannes Berg <johannes AT sipsolutions DOT net> |
---|---|
date | Mon, 23 Jul 2007 19:51:08 +0200 |
parents | 56dbfbde79fe |
children | 701a36397035 388204baf00f |
line wrap: on
line diff
--- a/MoinMoin/macro/__init__.py Mon Jul 23 19:43:40 2007 +0200 +++ b/MoinMoin/macro/__init__.py Mon Jul 23 19:51:08 2007 +0200 @@ -96,7 +96,7 @@ try: return wikiutil.invoke_extension_function(self.request, function, args, fixed) - except (TypeError, ValueError), e: + except ValueError, e: return self.format_error(e) def format_error(self, err):