[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - cvsloader.py:1.20

Fred L. Drake, Jr. fred at zope.com
Thu Apr 29 19:28:56 EDT 2004


Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv16872/zpkgtools

Modified Files:
	cvsloader.py 
Log Message:
avoid repeating information; use the copy we already saved


=== Packages/zpkgtools/zpkgtools/cvsloader.py 1.19 => 1.20 ===
--- Packages/zpkgtools/zpkgtools/cvsloader.py:1.19	Thu Apr 29 19:26:47 2004
+++ Packages/zpkgtools/zpkgtools/cvsloader.py	Thu Apr 29 19:28:56 2004
@@ -231,7 +231,7 @@
         # cvs -f -Q -z6 -d CVSROOT export -kk -d WORKDIR -r TAG PATH
         # separated out from load() to ease testing the rest of load()
         # XXX not sure of a good way to test this method!
-        wf = posixpath.basename(path)
+        wf = posixpath.basename(posixpath.normpath(path))
         pwd = os.getcwd()
         os.chdir(workdir)
         cmdline = ("cvs", "-f", "-Q", "-z6", "-d", cvsroot,




More information about the Zope-CVS mailing list