Mercurial > moin > 1.9
changeset 2053:641c229599a4
wikiutil.ParameterParser.parse_parameters: TODO in exceptions added
author | Reimar Bauer <rb.proj AT googlemail DOT com> |
---|---|
date | Sun, 10 Jun 2007 17:06:41 +0200 |
parents | 1376525701c1 |
children | 9bea36ddd065 |
files | MoinMoin/wikiutil.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py Sun Jun 10 16:13:08 2007 +0200 +++ b/MoinMoin/wikiutil.py Sun Jun 10 17:06:41 2007 +0200 @@ -1374,6 +1374,7 @@ parameter_list.append(value) if match.group("name"): if match.group("name") not in self.param_dict: + # TODO we should think on inheritance of parameters raise ValueError, "Unknown parameter name '%s'" % match.group("name") nr = self.param_dict[match.group("name")] if check_list[nr]: