[Zope-Checkins] CVS: Zope - test.py:1.2.2.18

Stefan H. Holek stefan at epy.co.at
Wed Feb 23 06:33:04 EST 2005


Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv27417

Modified Files:
      Tag: Zope-2_7-branch
	test.py 
Log Message:
Replace literal use of slash with os.path.join().


=== Zope/test.py 1.2.2.17 => 1.2.2.18 ===
--- Zope/test.py:1.2.2.17	Wed Jan 12 08:08:13 2005
+++ Zope/test.py	Wed Feb 23 06:33:03 2005
@@ -369,7 +369,7 @@
 class PathInit:
     def __init__(self, build, libdir=None):
         # Calculate which directories we're going to add to sys.path.
-        self.libdir = "lib/python"
+        self.libdir = os.path.join('lib', 'python')
         # Hack sys.path
         self.home = os.path.dirname(os.path.realpath(sys.argv[0]))
         # test.py lives in $ZOPE_HOME/bin when installed ...



More information about the Zope-Checkins mailing list