[Checkins] SVN: grok/branches/grokcore.xxx/src/grok/meta.py revert commit made too early

Godefroid Chapelle gotcha at bubblenet.be
Thu Jul 17 10:32:44 EDT 2008


Log message for revision 88447:
  revert commit made too early

Changed:
  U   grok/branches/grokcore.xxx/src/grok/meta.py

-=-
Modified: grok/branches/grokcore.xxx/src/grok/meta.py
===================================================================
--- grok/branches/grokcore.xxx/src/grok/meta.py	2008-07-17 14:29:37 UTC (rev 88446)
+++ grok/branches/grokcore.xxx/src/grok/meta.py	2008-07-17 14:32:44 UTC (rev 88447)
@@ -202,15 +202,12 @@
 
         config.action(
             discriminator=('protectName', factory, '__call__'),
-            callable=self.protectName,
-            args=(factory, permission),
+            callable=make_checker,
+            args=(factory, factory, permission),
             )
 
         return True
 
-    def protectName(self, factory, permission):
-        make_checker(factory, factory, permission)
-
     def checkTemplates(self, templates, module_info, factory):
         def has_render(factory):
             return (getattr(factory, 'render', None) and



More information about the Checkins mailing list