Lines 3845-3850
Link Here
|
3845 |
auxcache_is_valid = self.auxcache[cat].has_key(pkg) and \ |
3845 |
auxcache_is_valid = self.auxcache[cat].has_key(pkg) and \ |
3846 |
self.auxcache[cat][pkg].has_key("mtime") and \ |
3846 |
self.auxcache[cat][pkg].has_key("mtime") and \ |
3847 |
self.auxcache[cat][pkg]["mtime"] == emtime |
3847 |
self.auxcache[cat][pkg]["mtime"] == emtime |
|
|
3848 |
|
3849 |
#nocache RESTRICT flag: ignore the cache entry (useful for dynamic slots, etc.) |
3850 |
if auxcache_is_valid and self.auxcache[cat][pkg].has_key("RESTRICT"): |
3851 |
auxcache_is_valid = not "nocache" in self.auxcache[cat][pkg]["RESTRICT"].split() |
3852 |
if debug > 1: |
3853 |
writemsg("auxcache was valid for "+str(pkg)+"but 'nocache' is in $RESTRICT\n") |
3854 |
|
3848 |
if auxcache_is_valid: |
3855 |
if auxcache_is_valid: |
3849 |
if debug > 1: |
3856 |
if debug > 1: |
3850 |
writemsg("auxcache is valid: "+str(auxcache_is_valid)+" "+str(pkg)+"\n") |
3857 |
writemsg("auxcache is valid: "+str(auxcache_is_valid)+" "+str(pkg)+"\n") |