We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13ab3f2 commit 8a6c2e0Copy full SHA for 8a6c2e0
mbed/mbed.py
@@ -1421,6 +1421,8 @@ def cache_unlock(self, url):
1421
pid = f.read(8)
1422
if int(pid) != os.getpid():
1423
error("Cache lock file exists with a different pid (\"%s\" vs \"%s\")" % (pid, os.getpid()))
1424
+ else:
1425
+ info("Cache lock file exists with my pid (\"%s\"). Cleaning up." % (pid))
1426
except OSError:
1427
error("Unable to unlock cache dir \"%s\"" % (cpath))
1428
os.remove(lock_file)
0 commit comments