[Checkins]
SVN: grok/branches/philikon-grokcore.component/src/grok/util.py
check_adapts also moved.
Philipp von Weitershausen
philikon at philikon.de
Wed Aug 22 13:04:28 EDT 2007
Log message for revision 79131:
check_adapts also moved.
Changed:
U grok/branches/philikon-grokcore.component/src/grok/util.py
-=-
Modified: grok/branches/philikon-grokcore.component/src/grok/util.py
===================================================================
--- grok/branches/philikon-grokcore.component/src/grok/util.py 2007-08-22 17:00:24 UTC (rev 79130)
+++ grok/branches/philikon-grokcore.component/src/grok/util.py 2007-08-22 17:04:27 UTC (rev 79131)
@@ -27,12 +27,6 @@
from martian.error import GrokError, GrokImportError
from martian.util import class_annotation
-def check_adapts(class_):
- if component.adaptedBy(class_) is None:
- raise GrokError("%r must specify which contexts it adapts "
- "(use grok.adapts to specify)."
- % class_, class_)
-
def make_checker(factory, view_factory, permission):
"""Make a checker for a view_factory associated with factory.
More information about the Checkins
mailing list