[Zope3-checkins] CVS: Zope3/src/zope/app/services - zpt.py:1.16.2.1 view.py:1.36.4.1 utility.py:1.17.10.1 type.py:1.1.60.1 surrogate.py:1.2.4.1 session.py:1.11.10.1 role.py:1.7.10.1 registration.py:1.19.4.1 principalannotation.py:1.10.10.1 presentation.py:1.3.2.1 module.py:1.19.2.1 menu.py:1.8.4.1 interface.py:1.18.4.1 hub.py:1.26.2.1 error.py:1.3.10.1 cache.py:1.19.10.1 auth.py:1.20.10.1 adapter.py:1.23.4.1

Jeremy Hylton jeremy at zope.com
Thu Feb 12 16:22:30 EST 2004


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

Modified Files:
      Tag: zope3-zodb3-devel-branch
	zpt.py view.py utility.py type.py surrogate.py session.py 
	role.py registration.py principalannotation.py presentation.py 
	module.py menu.py interface.py hub.py error.py cache.py 
	auth.py adapter.py 
Log Message:
persistence -> persistent


=== Zope3/src/zope/app/services/zpt.py 1.16 => 1.16.2.1 ===
--- Zope3/src/zope/app/services/zpt.py:1.16	Mon Dec 15 09:59:13 2003
+++ Zope3/src/zope/app/services/zpt.py	Thu Feb 12 16:21:58 2004
@@ -16,7 +16,7 @@
 """
 
 from zope.security.proxy import ProxyFactory
-import persistence
+import persistent
 import re
 import zope.app.container.contained
 import zope.app.fssync.classes
@@ -62,7 +62,7 @@
 class ZPTTemplate(
     zope.app.pagetemplate.engine.AppPT,
     zope.pagetemplate.pagetemplate.PageTemplate,
-    persistence.Persistent,
+    persistent.Persistent,
     zope.app.container.contained.Contained,
     ):
 


=== Zope3/src/zope/app/services/view.py 1.36 => 1.36.4.1 ===
--- Zope3/src/zope/app/services/view.py:1.36	Mon Nov  3 23:04:25 2003
+++ Zope3/src/zope/app/services/view.py	Thu Feb 12 16:21:58 2004
@@ -16,8 +16,8 @@
 """
 __metaclass__ = type
 
-from persistence import Persistent
-from persistence.dict import PersistentDict
+from persistent import Persistent
+from persistent.dict import PersistentDict
 
 from zope.app.component.nextservice import getNextService
 from zope.app.container.contained import Contained


=== Zope3/src/zope/app/services/utility.py 1.17 => 1.17.10.1 ===
--- Zope3/src/zope/app/services/utility.py:1.17	Sun Sep 21 13:31:12 2003
+++ Zope3/src/zope/app/services/utility.py	Thu Feb 12 16:21:58 2004
@@ -17,8 +17,8 @@
 $Id$
 """
 from zope.interface import implements
-from persistence.dict import PersistentDict
-from persistence import Persistent
+from persistent.dict import PersistentDict
+from persistent import Persistent
 from zope.app.component.nextservice import getNextService
 from zope.app.interfaces.services.registration import IRegistry
 from zope.app.interfaces.services.service import ISimpleService


=== Zope3/src/zope/app/services/type.py 1.1 => 1.1.60.1 ===
--- Zope3/src/zope/app/services/type.py:1.1	Wed Jan 29 13:49:45 2003
+++ Zope3/src/zope/app/services/type.py	Thu Feb 12 16:21:58 2004
@@ -15,8 +15,8 @@
 """
 __metaclass__ = type
 
-from persistence import Persistent
-from persistence.dict import PersistentDict
+from persistent import Persistent
+from persistent.dict import PersistentDict
 from zope.interface.type import TypeRegistry
 
 class PersistentTypeRegistry(Persistent, TypeRegistry):


=== Zope3/src/zope/app/services/surrogate.py 1.2 => 1.2.4.1 ===
--- Zope3/src/zope/app/services/surrogate.py:1.2	Fri Nov 21 12:09:52 2003
+++ Zope3/src/zope/app/services/surrogate.py	Thu Feb 12 16:21:58 2004
@@ -16,8 +16,8 @@
 $Id$
 """
 
-from persistence import Persistent
-from persistence.dict import PersistentDict
+from persistent import Persistent
+from persistent.dict import PersistentDict
 from zope.interface.surrogate import Surrogate, SurrogateRegistry
 from zope.interface.surrogate import adapterImplied, Default
 from zope.app.services.registration import NotifyingRegistrationStack


=== Zope3/src/zope/app/services/session.py 1.11 => 1.11.10.1 ===
--- Zope3/src/zope/app/services/session.py:1.11	Sun Sep 21 13:31:12 2003
+++ Zope3/src/zope/app/services/session.py	Thu Feb 12 16:21:58 2004
@@ -22,8 +22,8 @@
 import sha, time, string, random, hmac
 
 # Zope3 imports
-from persistence import Persistent
-from persistence.dict import PersistentDict
+from persistent import Persistent
+from persistent.dict import PersistentDict
 from zope.server.http.http_date import build_http_date
 from zope.component import getService
 from zope.interface import implements


=== Zope3/src/zope/app/services/role.py 1.7 => 1.7.10.1 ===
--- Zope3/src/zope/app/services/role.py:1.7	Sun Sep 21 13:31:59 2003
+++ Zope3/src/zope/app/services/role.py	Thu Feb 12 16:21:58 2004
@@ -17,7 +17,7 @@
 $Id$
 """
 
-from persistence import Persistent
+from persistent import Persistent
 from zope.app.security.registries.roleregistry import Role
 from zope.app.container.btree import BTreeContainer
 from zope.app.interfaces.security import IRoleService


=== Zope3/src/zope/app/services/registration.py 1.19 => 1.19.4.1 ===
--- Zope3/src/zope/app/services/registration.py:1.19	Fri Nov 21 12:09:56 2003
+++ Zope3/src/zope/app/services/registration.py	Thu Feb 12 16:21:58 2004
@@ -19,7 +19,7 @@
 
 from zope.app import zapi
 
-from persistence import Persistent
+from persistent import Persistent
 from zope.interface import implements
 from zope.app.interfaces.annotation import IAttributeAnnotatable
 from zope.app.interfaces.container import IAddNotifiable, IRemoveNotifiable


=== Zope3/src/zope/app/services/principalannotation.py 1.10 => 1.10.10.1 ===
--- Zope3/src/zope/app/services/principalannotation.py:1.10	Sun Sep 21 13:31:59 2003
+++ Zope3/src/zope/app/services/principalannotation.py	Thu Feb 12 16:21:58 2004
@@ -19,8 +19,8 @@
 # implement this.
 
 # Zope3 imports
-from persistence import Persistent
-from persistence.dict import PersistentDict
+from persistent import Persistent
+from persistent.dict import PersistentDict
 from zodb.btrees.OOBTree import OOBTree
 from zope.app.component.nextservice import queryNextService
 from zope.app.interfaces.annotation import IAnnotations


=== Zope3/src/zope/app/services/presentation.py 1.3 => 1.3.2.1 ===
--- Zope3/src/zope/app/services/presentation.py:1.3	Thu Dec 18 01:09:44 2003
+++ Zope3/src/zope/app/services/presentation.py	Thu Feb 12 16:21:58 2004
@@ -20,7 +20,7 @@
 from zope.app.i18n import ZopeMessageIDFactory as _
 from zope.component.presentation import IDefaultViewName
 from zope.security.checker import NamesChecker, ProxyFactory
-import persistence.dict
+import persistent.dict
 import zope.app.component.interfacefield
 import zope.app.component.nextservice
 import zope.app.container.contained
@@ -59,7 +59,7 @@
     next = base = None
 
     def __init__(self):
-        self.layers = persistence.dict.PersistentDict()
+        self.layers = persistent.dict.PersistentDict()
         self.base = zapi.getService(None, zapi.servicenames.Presentation)
 
     def setNext(self, next, global_):
@@ -550,7 +550,7 @@
 #BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
 
 from zope.app.event.function import Subscriber
-import persistence
+import persistent
 import sys
 from zope.interface.surrogate import ReadProperty
 
@@ -558,7 +558,7 @@
 ViewRegistration.factoryName = ReadProperty(lambda self: self.class_)
 ViewRegistration.name        = ReadProperty(lambda self: self.viewName)
 
-class ViewService(persistence.Persistent):
+class ViewService(persistent.Persistent):
     pass
 
 def fixup(event):


=== Zope3/src/zope/app/services/module.py 1.19 => 1.19.2.1 ===
--- Zope3/src/zope/app/services/module.py:1.19	Thu Dec 18 05:29:49 2003
+++ Zope3/src/zope/app/services/module.py	Thu Feb 12 16:21:58 2004
@@ -16,7 +16,7 @@
 $Id$
 """
 
-from persistence import Persistent
+from persistent import Persistent
 from zodb.code.module import PersistentModule, compileModule
 from zope.app.event import function
 from zope.app.fssync.classes import ObjectEntryAdapter, AttrMapping


=== Zope3/src/zope/app/services/menu.py 1.8 => 1.8.4.1 ===
--- Zope3/src/zope/app/services/menu.py:1.8	Wed Dec  3 00:41:34 2003
+++ Zope3/src/zope/app/services/menu.py	Thu Feb 12 16:21:58 2004
@@ -17,7 +17,7 @@
 """
 __metaclass__ = type
 
-from persistence import Persistent
+from persistent import Persistent
 from zope.app import zapi
 from zope.app.component.nextservice import getNextService
 from zope.app.container.ordered import OrderedContainer


=== Zope3/src/zope/app/services/interface.py 1.18 => 1.18.4.1 ===
--- Zope3/src/zope/app/services/interface.py:1.18	Fri Nov 21 12:10:03 2003
+++ Zope3/src/zope/app/services/interface.py	Thu Feb 12 16:21:58 2004
@@ -19,8 +19,8 @@
 $Id$
 """
 
-from persistence import Persistent
-from persistence.dict import PersistentDict
+from persistent import Persistent
+from persistent.dict import PersistentDict
 from zodb.code.patch import registerWrapper, Wrapper
 from zope.interface.interface import InterfaceClass
 from zope.interface.interfaces import IInterface


=== Zope3/src/zope/app/services/hub.py 1.26 => 1.26.2.1 ===
--- Zope3/src/zope/app/services/hub.py:1.26	Tue Dec 16 17:05:40 2003
+++ Zope3/src/zope/app/services/hub.py	Thu Feb 12 16:21:58 2004
@@ -52,7 +52,7 @@
 from zope.app.traversing \
      import getPath, canonicalPath, traverse, traverseName, getRoot
 from zope.app.interfaces.services.hub import ISubscriptionControl
-from persistence import Persistent
+from persistent import Persistent
 from zope.app.container.contained import Contained
 
 class HubEvent:


=== Zope3/src/zope/app/services/error.py 1.3 => 1.3.10.1 ===
--- Zope3/src/zope/app/services/error.py:1.3	Sun Sep 21 13:32:49 2003
+++ Zope3/src/zope/app/services/error.py	Thu Feb 12 16:21:58 2004
@@ -18,7 +18,7 @@
 $Id$
 """
 
-from persistence import Persistent
+from persistent import Persistent
 from random import random
 from thread import allocate_lock
 from types import StringTypes


=== Zope3/src/zope/app/services/cache.py 1.19 => 1.19.10.1 ===
--- Zope3/src/zope/app/services/cache.py:1.19	Sun Sep 21 13:31:59 2003
+++ Zope3/src/zope/app/services/cache.py	Thu Feb 12 16:21:58 2004
@@ -15,7 +15,7 @@
 
 $Id$
 """
-from persistence import Persistent
+from persistent import Persistent
 from zope.app import zapi
 from zope.app.interfaces.cache import ICache
 from zope.app.interfaces.event import IObjectModifiedEvent


=== Zope3/src/zope/app/services/auth.py 1.20 => 1.20.10.1 ===
--- Zope3/src/zope/app/services/auth.py:1.20	Sun Sep 21 13:32:46 2003
+++ Zope3/src/zope/app/services/auth.py	Thu Feb 12 16:21:58 2004
@@ -16,7 +16,7 @@
 $Id$
 """
 
-from persistence import Persistent
+from persistent import Persistent
 from zodb.btrees.OOBTree import OOBTree
 
 from zope.exceptions import NotFoundError


=== Zope3/src/zope/app/services/adapter.py 1.23 => 1.23.4.1 ===
--- Zope3/src/zope/app/services/adapter.py:1.23	Fri Nov 21 12:10:07 2003
+++ Zope3/src/zope/app/services/adapter.py	Thu Feb 12 16:21:58 2004
@@ -118,7 +118,7 @@
 
 #BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
 
-import persistence
+import persistent
 from zope.interface.surrogate import ReadProperty
 
 AdapterRegistration.required = ReadProperty(lambda self: self.forInterface)
@@ -126,5 +126,5 @@
     lambda self: self.providedInterface)
 AdapterRegistration.name     = ReadProperty(lambda self: self.adapterName)
 
-class AdapterService(persistence.Persistent):
+class AdapterService(persistent.Persistent):
     pass




More information about the Zope3-Checkins mailing list