diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-09-20 02:54:46 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-09-20 02:54:46 +0000 |
| commit | 160f01439dc3e0d865b2e77bb4a9a7c9e7a16c1a (patch) | |
| tree | 5eb0dea7958a161806ffd6025e7cbb8db729e446 /repoze/bfg/url.py | |
| parent | e1205ca0f073ac6bbe992a507f8979f9ebcff5cf (diff) | |
| download | pyramid-160f01439dc3e0d865b2e77bb4a9a7c9e7a16c1a.tar.gz pyramid-160f01439dc3e0d865b2e77bb4a9a7c9e7a16c1a.tar.bz2 pyramid-160f01439dc3e0d865b2e77bb4a9a7c9e7a16c1a.zip | |
- Speed: do not register an ITraverserFactory in configure.zcml;
instead rely on queryAdapter and a manual default to
ModelGraphTraverser.
- Speed: do not register an IContextURL in configure.zcml; instead
rely on queryAdapter and a manual default to TraversalContextURL.
- General speed microimprovements for helloworld benchmark: replace
try/excepts with statements which use 'in' keyword.
Diffstat (limited to 'repoze/bfg/url.py')
| -rw-r--r-- | repoze/bfg/url.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/repoze/bfg/url.py b/repoze/bfg/url.py index b507e9432..5d1f08faa 100644 --- a/repoze/bfg/url.py +++ b/repoze/bfg/url.py @@ -178,7 +178,6 @@ def model_url(model, request, *elements, **kw): context_url = queryMultiAdapter((model, request), IContextURL) if context_url is None: - # b/w compat for unit tests context_url = TraversalContextURL(model, request) model_url = context_url() |
