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

Fred L. Drake, Jr. fred at zope.com
Mon May 17 15:50:11 EDT 2004


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

Modified Files:
	locationmap.py 
Log Message:
- normalize whitespace
- remove out-of-date comment


=== Packages/zpkgtools/zpkgtools/locationmap.py 1.15 => 1.16 ===
--- Packages/zpkgtools/zpkgtools/locationmap.py:1.15	Sun May 16 12:45:20 2004
+++ Packages/zpkgtools/zpkgtools/locationmap.py	Mon May 17 15:50:07 2004
@@ -57,7 +57,7 @@
         r = dict.get(self, name)
         if r:
             return r
-        
+
         suffix = ''
         while 1:
             l = name.rfind('.')
@@ -69,7 +69,7 @@
             r = dict.get(self, name)
             if r:
                 return r + suffix
-            
+
         return default
 
     __contains__ = get
@@ -108,7 +108,6 @@
             return r
         raise KeyError, name
 
-        
 
 def load(f, base=None, mapping=None):
     cvsbase = None
@@ -163,8 +162,6 @@
 
 
 def fromPathOrUrl(path, mapping=None):
-    # XXX need to deal with cvs: URLs directly!
-    # still need to support Subversion here
     if os.path.isfile(path):
         # prefer a revision-control URL over a local path if possible:
         rcurl = loader.fromPath(path)




More information about the Zope-CVS mailing list