[Checkins] SVN: grok/branches/jw-simpler-skin-registration/src/grok/directive.py use a single instance of the taggevalueonce store

Jan-Wijbrand Kolman janwijbrand at gmail.com
Mon Jul 28 15:54:44 EDT 2008


Log message for revision 88890:
  use a single instance of the taggevalueonce store

Changed:
  U   grok/branches/jw-simpler-skin-registration/src/grok/directive.py

-=-
Modified: grok/branches/jw-simpler-skin-registration/src/grok/directive.py
===================================================================
--- grok/branches/jw-simpler-skin-registration/src/grok/directive.py	2008-07-28 19:45:14 UTC (rev 88889)
+++ grok/branches/jw-simpler-skin-registration/src/grok/directive.py	2008-07-28 19:54:27 UTC (rev 88890)
@@ -221,6 +221,8 @@
     def setattr(self, context, directive, value):
         raise NotImplementedError, 'Do we need this?'
 
+TAGGEDVALUEONCE = TaggedValueStoreOnce()
+
 class skin(martian.Directive):
     # We cannot do any better than to check for a class scope. Ideally we
     # would've checked whether the context is indeed an Interface class.



More information about the Checkins mailing list