[Checkins]
SVN: grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py
Now that directives have a set() method,
remove a hack that had to be introduced earlier.
Philipp von Weitershausen
philikon at philikon.de
Sat May 3 07:42:35 EDT 2008
Log message for revision 86184:
Now that directives have a set() method, remove a hack that had to be introduced earlier.
Changed:
U grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py
-=-
Modified: grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py
===================================================================
--- grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py 2008-05-03 11:41:53 UTC (rev 86183)
+++ grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py 2008-05-03 11:42:35 UTC (rev 86184)
@@ -74,10 +74,7 @@
viewletmanager = determine_module_component(module_info,
grok.viewletmanager,
[grok.ViewletManager])
- # XXX this depends on the particular implementation of the
- # directive storages :(
- dotted_name = 'grok.directive.viewletmanager'
- setattr(module, dotted_name, viewletmanager)
+ grok.viewletmanager.set(module, viewletmanager)
return True
class XMLRPCGrokker(martian.ClassGrokker):
More information about the Checkins
mailing list