File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ def _fetch_locations(known_location):
5858 sys .stdout .flush ()
5959 try :
6060 process = subprocess .Popen (
61- cmd , stdout = subprocess .PIPE , stderr = subprocess .STDOUT ,
62- universal_newlines = True )
61+ cmd , stdout = subprocess .PIPE , stderr = subprocess .STDOUT ,
62+ universal_newlines = True )
6363 except OSError :
6464 print ("\n ERROR: %s" % cmd )
6565 raise
@@ -149,9 +149,11 @@ def _update_adapter(adptr):
149149 if entries :
150150 _log ("%s Entries to be updated: %s" , adptr , len (entries ))
151151
152+ name = adptr .name ()
152153 for entry in entries :
153- _log ("+ ivalidating %s" , entry )
154- cache .delete (entry )
154+ cache_name = name + ":" + entry
155+ _log ("+ invalidating %s" , cache_name )
156+ cache .delete (cache_name )
155157
156158 if entries :
157159 _log ("Done" )
You can’t perform that action at this time.
0 commit comments