[Zope3-checkins] SVN: Zope3/branches/zipimport-support/src/zope/filereference/reference.py hopefully fix the last Windows test failure on this branch, at least until

Fred L. Drake, Jr. fdrake at gmail.com
Wed Nov 9 21:47:00 EST 2005


Log message for revision 40021:
  hopefully fix the last Windows test failure on this branch, at least until
  more tests are added
  

Changed:
  U   Zope3/branches/zipimport-support/src/zope/filereference/reference.py

-=-
Modified: Zope3/branches/zipimport-support/src/zope/filereference/reference.py
===================================================================
--- Zope3/branches/zipimport-support/src/zope/filereference/reference.py	2005-11-10 00:21:34 UTC (rev 40020)
+++ Zope3/branches/zipimport-support/src/zope/filereference/reference.py	2005-11-10 02:46:57 UTC (rev 40021)
@@ -72,7 +72,7 @@
 def new(path, package=None, basepath=None):
 
     if os.path.isabs(path):
-        return PathReference(path)
+        return PathReference(os.path.normpath(path))
 
     # Got a relative path, combine with base path.
     # If we have no basepath, compute the base path from the package



More information about the Zope3-Checkins mailing list