Author: reebalazs
Date: Sun Nov 11 16:52:50 2007
New Revision: 48577

Modified:
   kukit/kss.zope/trunk/kss/zope/bbb/configure.py
Log:
Desctivate BBB messages, as this is too early yet.
Better policy at the moment, is still allow the kss.core style zcml registration
for plugins and commandsets.

Modified: kukit/kss.zope/trunk/kss/zope/bbb/configure.py
==============================================================================
--- kukit/kss.zope/trunk/kss/zope/bbb/configure.py      (original)
+++ kukit/kss.zope/trunk/kss/zope/bbb/configure.py      Sun Nov 11 16:52:50 2007
@@ -27,9 +27,10 @@
 registerAction = registerFor('action')
 registerParamProvider = registerFor('paramprovider')
 # XXX TODO more meaningful messages here?
-registerEventType = deprecated_directive('kss:eventtype', 'use python level 
registry instead', when)(registerEventType)
-registerAction = deprecated_directive('kss:action', 'use python level registry 
instead', when)(registerAction)
-registerParamProvider = deprecated_directive('kss:paramprovider', 'use python 
level registry instead', when)(registerParamProvider)
+## Don't BBB yet. Uncommenting the next three lines will activate BBB.
+##registerEventType = deprecated_directive('kss:eventtype', 'use python level 
registry instead', when)(registerEventType)
+##registerAction = deprecated_directive('kss:action', 'use python level 
registry instead', when)(registerAction)
+##registerParamProvider = deprecated_directive('kss:paramprovider', 'use 
python level registry instead', when)(registerParamProvider)
 
 class BBBKSSRegistrationError(Exception):
     pass
@@ -43,7 +44,8 @@
     allowCommandset(class_)
 
 # XXX TODO more meaningful message here?
[EMAIL PROTECTED]('kss:commandset', 'use python level registry instead', when)
+## Don't BBB yet. Uncommenting the next line will activate BBB.
[EMAIL PROTECTED]('kss:commandset', 'use python level registry instead', when)
 def registerCommandSet(_context, for_, class_, name, provides):
     'Directive that registers a command set' 
     # check the commandset on python level
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to