[Checkins] SVN: grok/branches/jw-philipp-using-ndir-directives/src/grok/testing.py Use the directive setter.

Philipp von Weitershausen philikon at philikon.de
Sat May 3 07:41:53 EDT 2008


Log message for revision 86183:
  Use the directive setter.

Changed:
  U   grok/branches/jw-philipp-using-ndir-directives/src/grok/testing.py

-=-
Modified: grok/branches/jw-philipp-using-ndir-directives/src/grok/testing.py
===================================================================
--- grok/branches/jw-philipp-using-ndir-directives/src/grok/testing.py	2008-05-03 11:39:38 UTC (rev 86182)
+++ grok/branches/jw-philipp-using-ndir-directives/src/grok/testing.py	2008-05-03 11:41:53 UTC (rev 86183)
@@ -55,7 +55,7 @@
 
     module = module_info.getModule()
     if context is not None:
-        module.__grok_context__ = context
+        grokcore.component.context.set(module, context)
     if templates is not None:
         module.__grok_templates__ = templates
     config = ConfigurationMachine()



More information about the Checkins mailing list