Log message for revision 69444: remove even more unnecessarily duplicated code
Changed: U Products.Five/branches/1.2/metaconfigure.py -=- Modified: Products.Five/branches/1.2/metaconfigure.py =================================================================== --- Products.Five/branches/1.2/metaconfigure.py 2006-08-13 18:51:08 UTC (rev 69443) +++ Products.Five/branches/1.2/metaconfigure.py 2006-08-13 18:54:56 UTC (rev 69444) @@ -24,12 +24,6 @@ class ContentDirective(contentdirective.ContentDirective): - def __init__(self, _context, class_): - self.__class = class_ - if isinstance(self.__class, ModuleType): - raise ConfigurationError('Content class attribute must be a class') - self.__context = _context - def __protectName(self, name, permission_id): "Set a permission on a particular name." self.__context.action( _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins