[Zope-Checkins] CVS: Zope2 - Extensions.py:1.15

Brian Lloyd brian@digicool.com
Tue, 3 Apr 2001 10:42:31 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/App
In directory korak:/home/brian/temp/mainline_test/lib/python/App

Modified Files:
	Extensions.py 
Log Message:
merged fix for non-portable path munging



--- Updated File Extensions.py in package Zope2 --
--- Extensions.py	2000/07/05 21:22:00	1.14
+++ Extensions.py	2001/04/03 14:42:30	1.15
@@ -156,7 +156,7 @@
            p = name[:l]
            n = name[l + 1:]
            for product_dir in Products.__path__:
-               r = _getPath(product_dir, '%s/%s/' % (p, prefix), n, suffixes)
+               r = _getPath(product_dir, os.path.join(p, prefix), n, suffixes)
                if r is not None: return r
 
     sw=path_split(path_split(SOFTWARE_HOME)[0])[0]