[CMF-checkins] CVS: CMF/CMFCore - utils.py:1.36

Chris Withers chrisw@nipltd.com
Tue, 21 Jan 2003 12:54:02 -0500


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv5385/CMFCore

Modified Files:
	utils.py 
Log Message:
Remove normcase call that stopped CMF instacnes created on Windows from being moved to Linux without having all the paths re-written.
If anyone know why that was there, please let me know!

=== CMF/CMFCore/utils.py 1.35 => 1.36 ===
--- CMF/CMFCore/utils.py:1.35	Tue Jan 21 12:36:46 2003
+++ CMF/CMFCore/utils.py	Tue Jan 21 12:53:59 2003
@@ -596,8 +596,8 @@
 security.declarePublic('normalize')
 def normalize(p):
     # the weird .replace is needed to help normpath
-    # when deadling with Windows paths under *nix
-    return os_path.normcase(os_path.normpath(p.replace('\\','/')))
+    # when dealing with Windows paths under *nix
+    return os_path.normpath(p.replace('\\','/'))
 
 separators = (os.sep, os.altsep)