[Zope-Checkins]
SVN: Products.Five/branches/philikon-local-components/
- fixed import errors
Jean-Marc Orliaguet
jmo at chalmers.se
Wed Apr 19 12:06:58 EDT 2006
Log message for revision 67141:
- fixed import errors
Changed:
U Products.Five/branches/philikon-local-components/fiveconfigure.py
U Products.Five/branches/philikon-local-components/meta.zcml
-=-
Modified: Products.Five/branches/philikon-local-components/fiveconfigure.py
===================================================================
--- Products.Five/branches/philikon-local-components/fiveconfigure.py 2006-04-19 16:02:48 UTC (rev 67140)
+++ Products.Five/branches/philikon-local-components/fiveconfigure.py 2006-04-19 16:06:57 UTC (rev 67141)
@@ -35,7 +35,7 @@
from zope.security.interfaces import IPermission
from zope.app.component.interface import provideInterface
-from zope.app.component.metaconfigure import adapter
+from zope.component.zcml import adapter
from Products.Five import isFiveMethod
from Products.Five.viewable import Viewable
Modified: Products.Five/branches/philikon-local-components/meta.zcml
===================================================================
--- Products.Five/branches/philikon-local-components/meta.zcml 2006-04-19 16:02:48 UTC (rev 67140)
+++ Products.Five/branches/philikon-local-components/meta.zcml 2006-04-19 16:06:57 UTC (rev 67141)
@@ -8,6 +8,7 @@
<meta:directives namespace="http://namespaces.zope.org/zope">
+ <!-- FIXME: the definePermission handler is not found -->
<meta:directive
name="permission"
schema="zope.app.security.metadirectives.IDefinePermissionDirective"
@@ -16,8 +17,8 @@
<meta:directive
name="interface"
- schema="zope.app.component.metadirectives.IInterfaceDirective"
- handler="zope.app.component.metaconfigure.interface"
+ schema="zope.component.zcml.IInterfaceDirective"
+ handler="zope.component.zcml.interface"
/>
<meta:directive
@@ -28,20 +29,20 @@
<meta:directive
name="adapter"
- schema="zope.app.component.metadirectives.IAdapterDirective"
- handler="zope.app.component.metaconfigure.adapter"
+ schema="zope.component.zcml.IAdapterDirective"
+ handler="zope.component.zcml.adapter"
/>
<meta:directive
name="subscriber"
- schema="zope.app.component.metadirectives.ISubscriberDirective"
- handler="zope.app.component.metaconfigure.subscriber"
+ schema="zope.component.zcml.ISubscriberDirective"
+ handler="zope.component.zcml.subscriber"
/>
<meta:directive
name="utility"
- schema="zope.app.component.metadirectives.IUtilityDirective"
- handler="zope.app.component.metaconfigure.utility"
+ schema="zope.component.zcml.IUtilityDirective"
+ handler="zope.component.zcml.utility"
/>
<meta:directive
@@ -162,14 +163,14 @@
<meta:directive
name="redefinePermission"
namespace="http://namespaces.zope.org/meta"
- schema="zope.app.security.metadirectives.IRedefinePermission"
- handler="zope.app.security.metaconfigure.redefinePermission"
+ schema="zope.security.zcml.IRedefinePermission"
+ handler="zope.security.zcml.redefinePermission"
/>
<!-- load the zope:modulealias directive -->
<include package="zope.modulealias" file="meta.zcml" />
<!-- load the i18n:registerTranslations directive -->
- <include package="zope.app.i18n" file="meta.zcml" />
+ <include package="zope.i18n" file="meta.zcml" />
</configure>
More information about the Zope-Checkins
mailing list