[Checkins]
SVN: martian/branches/philikon-methodgrokker/src/martian/components.py
Simplify
Philipp von Weitershausen
philikon at philikon.de
Mon May 26 08:22:32 EDT 2008
Log message for revision 86970:
Simplify
Changed:
U martian/branches/philikon-methodgrokker/src/martian/components.py
-=-
Modified: martian/branches/philikon-methodgrokker/src/martian/components.py
===================================================================
--- martian/branches/philikon-methodgrokker/src/martian/components.py 2008-05-26 11:37:37 UTC (rev 86969)
+++ martian/branches/philikon-methodgrokker/src/martian/components.py 2008-05-26 12:22:31 UTC (rev 86970)
@@ -15,7 +15,6 @@
from zope.interface import implements
from martian import util
-from martian import directive
from martian.error import GrokError
from martian.interfaces import IGrokker, IComponentGrokker
@@ -67,8 +66,9 @@
raise NotImplementedError
-class MethodGrokker(ClassGrokker):
- directive.baseclass()
+class MethodGrokker(ComponentGrokkerBase):
+ # Use a tuple instead of a list here to make it immutable, just to be safe
+ directives = ()
def grok(self, name, class_, module_info=None, **kw):
module = None
More information about the Checkins
mailing list