Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1814

Show
Ignore:
Timestamp:
10/30/07 18:16:54
Author:
zakj
Message:

Coerced all path names in covercp.py to lower-case, since some versions of
coverage do so.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/lib/covercp.py

    r1627 r1814  
    196196        newpath = os.path.join(path, name) 
    197197         
    198         if newpath.startswith(base): 
     198        if newpath.lower().startswith(base): 
    199199            relpath = newpath[len(base):] 
    200200            yield "| " * relpath.count(os.sep) 
     
    206206     
    207207    # Now list the files 
    208     if path.startswith(base): 
     208    if path.lower().startswith(base): 
    209209        relpath = path[len(base):] 
    210210        files = [k for k, v in root.iteritems() if not v] 

Hosted by WebFaction

Log in as guest/cpguest to create tickets