[Zope3-checkins] CVS: Zope3/src/zope/app/registration - configure.zcml:1.5 interfaces.py:1.9 registration.py:1.10

Jim Fulton jim at zope.com
Fri Apr 30 12:46:01 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/registration
In directory cvs.zope.org:/tmp/cvs-serv28075/src/zope/app/registration

Modified Files:
	configure.zcml interfaces.py registration.py 
Log Message:
Removed some module aliases for pickle backward compatibility.


=== Zope3/src/zope/app/registration/configure.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/registration/configure.zcml:1.4	Tue Mar 23 11:37:20 2004
+++ Zope3/src/zope/app/registration/configure.zcml	Fri Apr 30 12:45:29 2004
@@ -3,18 +3,6 @@
     xmlns:fssync="http://namespaces.zope.org/fssync"
     >
 
-  <!-- For backward compatibility -->
-
-  <modulealias
-      module=".registration"
-      alias="zope.app.services.registration"
-      />
-
-  <modulealias
-      module=".interfaces"
-      alias="zope.app.interfaces.services.registration"
-      />
-
   <!-- Registration registries -->
   
   <content class=".registration.RegistrationStack">


=== Zope3/src/zope/app/registration/interfaces.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/registration/interfaces.py:1.8	Sat Apr 24 19:19:47 2004
+++ Zope3/src/zope/app/registration/interfaces.py	Fri Apr 30 12:45:29 2004
@@ -409,11 +409,3 @@
 
     """
     implements(INoRegistrationManagerError)
-
-
-
-# XXX Pickle backward compatability
-IUseConfigurable = IRegisterable
-import sys
-sys.modules['zope.app.interfaces.services.configuration'
-            ] = sys.modules['zope.app.registration.interfaces']


=== Zope3/src/zope/app/registration/registration.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/registration/registration.py:1.9	Sat Apr 17 11:13:12 2004
+++ Zope3/src/zope/app/registration/registration.py	Fri Apr 30 12:45:29 2004
@@ -32,6 +32,7 @@
 from zope.security.proxy import Proxy, trustedRemoveSecurityProxy
 from zope.xmlpickle import dumps, loads
 import interfaces
+import sys
 import zope.cachedescriptors.property
 
 class RegistrationStatusProperty(object):
@@ -961,14 +962,3 @@
         obj = removeAllProxies(self.context)
         ivars = loads(body)
         obj.__setstate__(ivars)
-
-
-
-# XXX Pickle backward compatability
-ConfigurationRegistry = RegistrationStack
-ConfigurationManager = RegistrationManager
-import sys
-sys.modules['zope.app.services.registrationmanager'
-            ] = sys.modules['zope.app.registration']
-sys.modules['zope.app.services.configuration'
-            ] = sys.modules['zope.app.registration.registration']




More information about the Zope3-Checkins mailing list