MCPcopy Create free account
hub / github.com/certbot/certbot / _release_locks

Function _release_locks

certbot/src/certbot/util.py:240–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

238
239
240def _release_locks() -> None:
241 for dir_lock in _LOCKS.values():
242 try:
243 dir_lock.release()
244 except: # pylint: disable=bare-except
245 msg = 'Exception occurred releasing lock: {0!r}'.format(dir_lock)
246 logger.debug(msg, exc_info=True)
247 _LOCKS.clear()
248
249
250def set_up_core_dir(directory: str, mode: int, strict: bool) -> None:

Callers

nothing calls this directly

Calls 2

formatMethod · 0.80
releaseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…