[Checkins] SVN: Zope/trunk/ Removed Products.Five.fivedirectives.IBridgeDirective - a leftover from the Interface to zope.interface bridging code.

Hanno Schlichting hannosch at hannosch.eu
Fri Jan 1 12:48:24 EST 2010


Log message for revision 107508:
  Removed Products.Five.fivedirectives.IBridgeDirective - a leftover from the Interface to zope.interface bridging code.
  

Changed:
  U   Zope/trunk/doc/CHANGES.rst
  U   Zope/trunk/src/Products/Five/fivedirectives.py

-=-
Modified: Zope/trunk/doc/CHANGES.rst
===================================================================
--- Zope/trunk/doc/CHANGES.rst	2010-01-01 17:44:38 UTC (rev 107507)
+++ Zope/trunk/doc/CHANGES.rst	2010-01-01 17:48:24 UTC (rev 107508)
@@ -11,6 +11,9 @@
 Restructuring
 +++++++++++++
 
+- Removed Products.Five.fivedirectives.IBridgeDirective - a leftover from the
+  Interface to zope.interface bridging code.
+
 - Marked the ``<five:implements />`` as officially deprecated. The standard
   ``<class />`` directive allows the same.
 

Modified: Zope/trunk/src/Products/Five/fivedirectives.py
===================================================================
--- Zope/trunk/src/Products/Five/fivedirectives.py	2010-01-01 17:44:38 UTC (rev 107507)
+++ Zope/trunk/src/Products/Five/fivedirectives.py	2010-01-01 17:48:24 UTC (rev 107508)
@@ -18,7 +18,7 @@
 from zope.interface import Interface
 from zope.browserresource.metadirectives import IBasicResourceInformation
 from zope.security.zcml import Permission
-from zope.configuration.fields import GlobalObject, Tokens, PythonIdentifier
+from zope.configuration.fields import GlobalObject, Tokens
 from zope.configuration.fields import Bool
 from zope.schema import ASCII, TextLine
 
@@ -60,26 +60,6 @@
         )
 
 
-class IBridgeDirective(Interface):
-    """Bridge from a Zope 2 interface to an equivalent Zope3 interface.
-    """
-    zope2 = GlobalObject(
-        title=u"Zope2",
-        required=True
-        )
-
-    package = GlobalObject(
-        title=u"Target package",
-        required=True
-        )
-
-    name = PythonIdentifier(
-        title=u"Zope3 Interface name",
-        description=u"If not supplied, the new interface will have the same "
-                    u"name as the source interface.",
-        required=False
-        )
-
 class IPagesFromDirectoryDirective(IBasicResourceInformation):
     """Register each file in a skin directory as a page resource
     """



More information about the checkins mailing list