[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - locationmap.py:1.13

Fred L. Drake, Jr. fred at zope.com
Fri May 7 15:33:29 EDT 2004


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

Modified Files:
	locationmap.py 
Log Message:


reflect changes in zpkgtools.cvsloader.fromPath()




=== Packages/zpkgtools/zpkgtools/locationmap.py 1.12 => 1.13 ===
--- Packages/zpkgtools/zpkgtools/locationmap.py:1.12	Thu May  6 23:38:50 2004
+++ Packages/zpkgtools/zpkgtools/locationmap.py	Fri May  7 15:33:27 2004
@@ -97,9 +97,8 @@
     # still need to support Subversion here
     if os.path.isfile(path):
         # prefer a revision-control URL over a local path if possible:
-        try:
-            cvsurl = cvsloader.fromPath(path)
-        except IOError, e:
+        cvsurl = cvsloader.fromPath(path)
+        if cvsurl is None:
             base = os.path.dirname(path)
         else:
             cvsurl.path = posixpath.dirname(cvsurl.path)




More information about the Zope-CVS mailing list