[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-cvs
Subject:    [Zope-Checkins] CVS: Zope - test.py:1.2.2.18
From:       "Stefan H. Holek" <stefan () epy ! co ! at>
Date:       2005-02-23 11:33:04
Message-ID: 20050223113304.8918C20336D () mail ! zope ! org
[Download RAW message or body]

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 ...

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic