HomeClusterLabs Projects

Refactor: python: Use a context manager when acquiring a lock.

Description

Refactor: python: Use a context manager when acquiring a lock.

Also rename it to self._cache_lock. Locks should almost certainly be
private data.

Details

Provenance
clumensAuthored on Mar 29 2023, 2:22 PM
Parents
rPa80a6f7b9ef7: Refactor: python: Rename LogWatcher.Timeout to LogWatcher._timeout.
Branches
Unknown
Tags
Unknown