[Grok-dev] Re: SVN: grok/trunk/ merged ksmith_mcweekly-layers-011 branch, all tests pass

Philipp von Weitershausen philipp at weitershausen.de
Wed Sep 19 16:56:14 EDT 2007


Kevin Smith wrote:
> +
> +class ILayerGrokker(martian.ClassGrokker):
> +    component_class = grok.IGrokLayer
> +


This grokker doesn't do anything. Why is it there?

Also, layers are interfaces. Interfaces aren't classes, even though you 
happen to use the 'class' statement to create them. So even if this 
grokker did anything, it wouldn't be called anyway, because 
subinterfaces of IGrokLayer aren't classes and this grokker is a 
ClassGrokker.

Other than that, cool stuff. Thanks for getting this merged!


-- 
http://worldcookery.com -- Professional Zope documentation and training


More information about the Grok-dev mailing list