[Zope-Checkins] CVS: Releases/Zope/lib/python/OFS - Application.py:1.173

Matthew T. Kromer matt@zope.com
Mon, 26 Nov 2001 15:14:25 -0500


Update of /cvs-repository/Releases/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv10392

Modified Files:
	Application.py 
Log Message:
Change initial example population to not verify the import; users haven't
been set up yet.


=== Releases/Zope/lib/python/OFS/Application.py 1.172 => 1.173 ===
         examples_path = os.path.join(Globals.data_dir, 'Examples.zexp')
         if os.path.isfile(examples_path):
-            app._importObjectFromFile(examples_path)
+            app._importObjectFromFile(examples_path, verify=0)
             app._Zope25_examples_have_been_added=1
             get_transaction().note('Added Examples folder')
             get_transaction().commit()