[Zope3-checkins] CVS: Zope3 - test.py:1.32

Barry Warsaw barry@wooz.org
Fri, 20 Dec 2002 17:14:39 -0500


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv32551

Modified Files:
	test.py 
Log Message:
main(): Move the logging setup to before we init the path.


=== Zope3/test.py 1.31 => 1.32 ===
--- Zope3/test.py:1.31	Fri Dec 20 14:35:14 2002
+++ Zope3/test.py	Fri Dec 20 17:14:38 2002
@@ -423,8 +423,6 @@
     global pathinit
 
     os.path.walk(os.curdir, remove_stale_bytecode, None)
-    # Initialize the path and cwd
-    pathinit = PathInit(build, build_inplace)
 
     # Initialize the logging module.
     import logging.config
@@ -433,6 +431,9 @@
     # If log.ini exists, use it
     if os.path.exists("log.ini"):
         logging.config.fileConfig("log.ini")
+
+    # Initialize the path and cwd
+    pathinit = PathInit(build, build_inplace)
 
     files = find_tests(module_filter)
     files.sort()