[Zope-Checkins] SVN: Zope/trunk/test.py Don't hard-wire forward-slash into sys.path (redux).

Tres Seaver tseaver at palladion.com
Sun Nov 13 23:54:58 EST 2005


Log message for revision 40092:
  Don't hard-wire forward-slash into sys.path (redux).

Changed:
  U   Zope/trunk/test.py

-=-
Modified: Zope/trunk/test.py
===================================================================
--- Zope/trunk/test.py	2005-11-14 04:47:30 UTC (rev 40091)
+++ Zope/trunk/test.py	2005-11-14 04:54:58 UTC (rev 40092)
@@ -42,7 +42,7 @@
 else:
     # No zope home, assume that it is the script directory
     zhome = os.path.abspath(os.path.dirname(sys.argv[0]))
-    shome = os.path.join(zhome, 'lib/python')
+    shome = os.path.join(zhome, 'lib', 'python')
 
 sys.path.insert(0, shome)
 



More information about the Zope-Checkins mailing list