diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-12-05 13:22:54 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-12-05 13:22:54 +0000 |
| commit | 8dad2136bb02f460c0cb734c2e17d3a27c737a94 (patch) | |
| tree | 992d1552c5a70dfb397b4c1426ce54803977b1e2 /repoze/bfg/zcml.py | |
| parent | 2eca00a3dbbcdb2bd767840d0cebde5d9e172340 (diff) | |
| download | pyramid-8dad2136bb02f460c0cb734c2e17d3a27c737a94.tar.gz pyramid-8dad2136bb02f460c0cb734c2e17d3a27c737a94.tar.bz2 pyramid-8dad2136bb02f460c0cb734c2e17d3a27c737a94.zip | |
Check in failing test.
Diffstat (limited to 'repoze/bfg/zcml.py')
| -rw-r--r-- | repoze/bfg/zcml.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/repoze/bfg/zcml.py b/repoze/bfg/zcml.py index aba5847d2..79d4c2561 100644 --- a/repoze/bfg/zcml.py +++ b/repoze/bfg/zcml.py @@ -52,7 +52,8 @@ def view(_context, args = ('', for_) ) - # views may be either functions or class instances + # adapts() decorations may be used against either functions or + # class instances if isinstance(view, types.FunctionType): adapted_by = adaptedBy(view) else: |
