Changeset ferringb%2Fpkgcore-dev,3510

Show
Ignore:
Timestamp:
06/29/08 12:38:25 (8 weeks ago)
Author:
Brian Harring <ferringb@…>
Message:

add in some debug msgs for mtime caching

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ferringb/pkgcore-dev/pkgcore/vdb/virtuals.py

    r3509 r3510  
    6666    try: 
    6767        f = None 
     68        logger.debug("attempting to update mtime cache at %r", (location,)) 
    6869        try: 
    6970            if not ensure_dirs(os.path.dirname(location), 
     
    9798def _read_mtime_cache(location): 
    9899    try: 
     100        logger.debug("reading mtime cache at %r", (location,)) 
    99101        d = {} 
    100102        for k, v in read_dict(readlines(location), splitter=None, 
     
    110112        if e.errno != errno.ENOENT: 
    111113            raise 
     114        logger.debug("failed reading mtime cache at %r", (location,)) 
    112115        return {} 
    113116