[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/zopeappgenerations/ Added evolution to generation 4.

Jim Fulton jim at zope.com
Tue Apr 25 10:45:15 EDT 2006


Log message for revision 67597:
  Added evolution to generation 4.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/zopeappgenerations/__init__.py
  A   Zope3/branches/jim-adapter/src/zope/app/zopeappgenerations/evolve4.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/zopeappgenerations/__init__.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/zopeappgenerations/__init__.py	2006-04-25 14:28:00 UTC (rev 67596)
+++ Zope3/branches/jim-adapter/src/zope/app/zopeappgenerations/__init__.py	2006-04-25 14:45:15 UTC (rev 67597)
@@ -24,7 +24,7 @@
 
 ZopeAppSchemaManager = SchemaManager(
     minimum_generation=1,
-    generation=3,
+    generation=4,
     package_name=key)
 
 

Added: Zope3/branches/jim-adapter/src/zope/app/zopeappgenerations/evolve4.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/zopeappgenerations/evolve4.py	2006-04-25 14:28:00 UTC (rev 67596)
+++ Zope3/branches/jim-adapter/src/zope/app/zopeappgenerations/evolve4.py	2006-04-25 14:45:15 UTC (rev 67597)
@@ -0,0 +1,25 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Evolve local site managers
+
+$Id$
+"""
+__docformat__ = "reStructuredText"
+
+from zope.app.zopeappgenerations import getRootFolder
+
+def evolve(context):
+    getRootFolder(context).getSiteManager()._evolve_to_generation_4()
+
+    


Property changes on: Zope3/branches/jim-adapter/src/zope/app/zopeappgenerations/evolve4.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native



More information about the Zope3-Checkins mailing list