summaryrefslogtreecommitdiff
path: root/repoze/bfg/zcml.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/zcml.py')
-rw-r--r--repoze/bfg/zcml.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/repoze/bfg/zcml.py b/repoze/bfg/zcml.py
index 737e2409b..39366b0b1 100644
--- a/repoze/bfg/zcml.py
+++ b/repoze/bfg/zcml.py
@@ -37,14 +37,15 @@ class Uncacheable(object):
""" Include in discriminators of actions which are not cacheable;
this class only exists for backwards compatibility (<0.8.1)"""
-def view(_context,
- permission=None,
- for_=None,
- view=None,
- name="",
- request_type=None,
- cacheable=True, # not used, here for b/w compat < 0.8
- ):
+def view(
+ _context,
+ permission=None,
+ for_=None,
+ view=None,
+ name="",
+ request_type=None,
+ cacheable=True, # not used, here for b/w compat < 0.8
+ ):
if not view:
raise ConfigurationError('"view" attribute was not specified')