appobject.py
changeset 4490 d45cde54d464
parent 4462 c57c8176b8c2
parent 4485 5f99eb0b99f7
child 4568 ed35dbe408ae
--- a/appobject.py	Sat Feb 06 08:45:14 2010 +0100
+++ b/appobject.py	Mon Feb 08 11:08:55 2010 +0100
@@ -268,6 +268,7 @@
             pdef['default'] = getattr(cls, propid, pdef['default'])
             pdef['sitewide'] = getattr(cls, 'site_wide', pdef.get('sitewide'))
             registry.vreg.register_property(cls._cwpropkey(propid), **pdef)
+        assert callable(cls.__select__), obj
         return cls
 
     def __init__(self, req, **extra):