[Zope-CVS] CVS: Products/zzz_generations - __init__.py:1.2

Chris McDonough chrism at plope.com
Fri Jan 28 23:33:14 EST 2005


Update of /cvs-repository/Products/zzz_generations
In directory cvs.zope.org:/tmp/cvs-serv22159

Modified Files:
	__init__.py 
Log Message:
Dont evolve to minimum at startup.  Always evolve manually.


=== Products/zzz_generations/__init__.py 1.1.1.1 => 1.2 ===
--- Products/zzz_generations/__init__.py:1.1.1.1	Fri Apr 23 15:23:15 2004
+++ Products/zzz_generations/__init__.py	Fri Jan 28 23:33:13 2005
@@ -26,8 +26,7 @@
         permission=generationmanager.MANAGE_GENERATIONS,
         icon='www/manager.gif'
         )
-    # evolve to minumum at startup, this is evil and wrong, but we lack an
-    # event to tell us when the database is opened
-    db = context._ProductContext__app._p_jar._db
-    generations.evolve(db, how=generations.EVOLVEMINIMUM)
+    # (dont) evolve to minumum at startup (this is evil and wrong)
+    # db = context._ProductContext__app._p_jar._db
+    # generations.evolve(db, how=generations.EVOLVEMINIMUM)
     



More information about the Zope-CVS mailing list