[Zodb-checkins] CVS: ZODB3 - setup.py:1.29

Fred L. Drake, Jr. fred@zope.com
Fri, 3 Jan 2003 16:31:03 -0500


Update of /cvs-repository/ZODB3
In directory cvs.zope.org:/tmp/cvs-serv15296

Modified Files:
	setup.py 
Log Message:
Be pedantic about using os.path.join().


=== ZODB3/setup.py 1.28 => 1.29 ===
--- ZODB3/setup.py:1.28	Fri Jan  3 16:19:03 2003
+++ ZODB3/setup.py	Fri Jan  3 16:31:00 2003
@@ -173,9 +173,8 @@
     for fn in glob.glob(os.path.join(inputdir, "*.conf")):
         cmd.copy_file(fn, os.path.join(outputbase, fn))
 
-    # XXX copy the ZODB/config.xml into place
-    cmd.copy_file("ZODB/config.xml",
-                  os.path.join(outputbase, "ZODB/config.xml"))
+    fn = os.path.join("ZODB", "config.xml")
+    cmd.copy_file(fn, os.path.join(outputbase, fn))
 
 class MyLibInstaller(install_lib):
     """Custom library installer, used to put hosttab in the right place."""