diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-07-24 08:32:21 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-07-24 08:32:21 +0000 |
| commit | 2eb64f7a8bc7830667c3cb924bb5c13be3859b38 (patch) | |
| tree | 948d9de136078a1cb56be1c874aa0b2ca82d1115 /repoze/bfg/zcml.py | |
| parent | af7a1d9a699f8fafba717244641de5de7cab77e8 (diff) | |
| download | pyramid-2eb64f7a8bc7830667c3cb924bb5c13be3859b38.tar.gz pyramid-2eb64f7a8bc7830667c3cb924bb5c13be3859b38.tar.bz2 pyramid-2eb64f7a8bc7830667c3cb924bb5c13be3859b38.zip | |
Remove match_val feature: it's a pretty nuisance
Diffstat (limited to 'repoze/bfg/zcml.py')
| -rw-r--r-- | repoze/bfg/zcml.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/repoze/bfg/zcml.py b/repoze/bfg/zcml.py index b350d5ea7..820dc9442 100644 --- a/repoze/bfg/zcml.py +++ b/repoze/bfg/zcml.py @@ -141,11 +141,6 @@ class IViewDirective(Interface): description=(u'Accepts a regular expression.'), required = False) - match_val = TextLine( - title=u'Matchdict name/value pair in the form "name=<regex>"', - description=u'Regular expression matching for matchdict values', - required = False) - custom_predicates = Tokens( title=u"One or more custom dotted names to custom predicate callables", description=(u"A list of dotted name references to callables that " @@ -173,7 +168,6 @@ def view( accept=None, header=None, path_info=None, - match_val=None, traverse=None, custom_predicates=(), context=None, @@ -206,8 +200,7 @@ def view( request_method=request_method, request_param=request_param, containment=containment, attr=attr, renderer=renderer, wrapper=wrapper, xhr=xhr, accept=accept, header=header, - path_info=path_info, match_val=match_val, - custom_predicates=custom_predicates, + path_info=path_info, custom_predicates=custom_predicates, _info=_context.info) discriminator = ['view', context, name, request_type, IView, containment, |
