Changeset 874e954ac12c…
Parent 6e70df4f8e9a…
by
Changes to one file · Browse files at 874e954ac12c Showing diff from parent 6e70df4f8e9a Diff from another changeset...
@@ -97,7 +97,7 @@ path = upath
# check if path is cached
- pdir = os.path.isdir(path) and path or os.path.dirname(path)
+ pdir = os.path.dirname(path)
if cache_pdir == pdir and overlay_cache:
if tc - cache_tick_count < CACHE_TIMEOUT:
try:
@@ -119,7 +119,7 @@ if cache_pdir == pdir:
root = cache_root
else:
- print "find new root at", pdir, "Was", cache_pdir
+ print "find new root from", upath, "was", cache_pdir
cache_pdir = pdir
cache_root = root = thgutil.find_root(pdir)
print "_get_state: root = ", root
|
Loading...