[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/component/back35.py Fixed some interface references.

Jim Fulton jim at zope.com
Sun Apr 2 12:59:53 EDT 2006


Log message for revision 66315:
  Fixed some interface references.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/component/back35.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/component/back35.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/component/back35.py	2006-04-02 16:59:50 UTC (rev 66314)
+++ Zope3/branches/jim-adapter/src/zope/app/component/back35.py	2006-04-02 16:59:52 UTC (rev 66315)
@@ -373,8 +373,7 @@
 
 class SimpleRegistration(Persistent, Contained):
     """Registration objects that just contain registration data"""
-    implements(interfaces.IRegistration,
-               interfaces.IRegistrationManagerContained)
+    implements(IRegistration, IRegistrationManagerContained)
 
     # See interfaces.IRegistration
     status = RegistrationStatusProperty()
@@ -497,7 +496,7 @@
     Subclasses should define a getInterface() method returning the interface
     of the component.
     """
-    implements(interfaces.IComponentRegistration)
+    implements(IComponentRegistration)
 
     def __init__(self, component, permission=None):
         super(ComponentRegistration, self).__init__(component, permission)
@@ -529,8 +528,8 @@
     This class is the only place that knows how 'Registered'
     data is represented.
     """
-    implements(interfaces.IRegistered)
-    __used_for__ = interfaces.IRegisterable
+    implements(IRegistered)
+    __used_for__ = IRegisterable
 
     def __init__(self, registerable):
         self.registerable = registerable
@@ -547,7 +546,7 @@
 
     Manages registrations within a package.
     """
-    implements(interfaces.IRegistrationManager)
+    implements(IRegistrationManager)
 
     @zope.deprecation.deprecate("Will go away in Zope 3.5")
     def addRegistration(self, reg):
@@ -589,7 +588,7 @@
 class RegistrationManagerNamespace:
     """Used to traverse to a Registration Manager from a
        Registerable Container."""
-    __used_for__ = interfaces.IRegisterableContainer
+    __used_for__ = IRegisterableContainer
 
     def __init__(self, ob, request=None):
         self.context = ob.registrationManager



More information about the Zope3-Checkins mailing list