[Zodb-checkins] SVN: ZODB/branches/3.3/src/ Side-port changes checked in from a wrong project:

Tim Peters tim.one at comcast.net
Thu Feb 10 15:26:14 EST 2005


Log message for revision 29107:
  Side-port changes checked in from a wrong project:
  
  r28991 | jim | 2005-01-31 10:45:46 -0500 (Mon, 31 Jan 2005) | 5 lines
  ...
  Renamed the Zope package to Zope2
  
  Import of the Zope package is now deprecated, but will
  be supported until Zope 2.11.
  

Changed:
  U   ZODB/branches/3.3/src/ZODB/DemoStorage.py
  U   ZODB/branches/3.3/src/ZopeUndo/Prefix.py
  U   ZODB/branches/3.3/src/scripts/zodbload.py

-=-
Modified: ZODB/branches/3.3/src/ZODB/DemoStorage.py
===================================================================
--- ZODB/branches/3.3/src/ZODB/DemoStorage.py	2005-02-10 20:05:13 UTC (rev 29106)
+++ ZODB/branches/3.3/src/ZODB/DemoStorage.py	2005-02-10 20:26:14 UTC (rev 29107)
@@ -69,12 +69,12 @@
 as changes are made.  For example, in Zope, you can create an external
 method::
 
-  import Zope
+  import Zope2
 
   def info(RESPONSE):
       RESPONSE['Content-type']= 'text/plain'
 
-      return Zope.DB._storage._splat()
+      return Zope2.DB._storage._splat()
 
 and call it to monitor the storage.
 

Modified: ZODB/branches/3.3/src/ZopeUndo/Prefix.py
===================================================================
--- ZODB/branches/3.3/src/ZopeUndo/Prefix.py	2005-02-10 20:05:13 UTC (rev 29106)
+++ ZODB/branches/3.3/src/ZopeUndo/Prefix.py	2005-02-10 20:26:14 UTC (rev 29107)
@@ -11,7 +11,7 @@
 # FOR A PARTICULAR PURPOSE
 #
 ##############################################################################
-"""ZODB undo support for Zope.
+"""ZODB undo support for Zope2.
 
 This package is used to support the Prefix object that Zope uses for
 undo.  It is a separate package only to aid configuration management.

Modified: ZODB/branches/3.3/src/scripts/zodbload.py
===================================================================
--- ZODB/branches/3.3/src/scripts/zodbload.py	2005-02-10 20:05:13 UTC (rev 29106)
+++ ZODB/branches/3.3/src/scripts/zodbload.py	2005-02-10 20:26:14 UTC (rev 29107)
@@ -197,10 +197,10 @@
         os.remove(os.path.join(lib_python, '..', '..', 'var', 'Data.fs'))
     except:
         pass
-    import Zope
+    import Zope2
     import Products
     import AccessControl.SecurityManagement
-    app=Zope.app()
+    app=Zope2.app()
 
     Products.ZCatalog.ZCatalog.manage_addZCatalog(app, 'cat', '')
 
@@ -279,16 +279,16 @@
         factory.__name__, r)
 
 def run(jobs, tid=''):
-    import Zope
+    import Zope2
     while 1:
         factory, job, args, repeatp = jobs.next()
-        run1(tid, Zope.DB, factory, job, args)
+        run1(tid, Zope2.DB, factory, job, args)
         if repeatp:
             while 1:
                 i = random.randint(0,100)
                 if i > repeatp:
                     break
-                run1(tid, Zope.DB, factory, job, args)
+                run1(tid, Zope2.DB, factory, job, args)
 
 
 def index(connection, messages, catalog):
@@ -733,8 +733,8 @@
     if options.has_key('setup'):
         setup(lib_python)
     else:
-        import Zope
-        Zope.startup()
+        import Zope2
+        Zope2.startup()
 
     #from ThreadedAsync.LoopCallback import loop
     #threading.Thread(target=loop, args=(), name='asyncore').start()



More information about the Zodb-checkins mailing list