Commit d4f4b3e7 authored by Guido Trotter's avatar Guido Trotter
Browse files

Add GanetiLockManager.is_owned function

This is a public version of the private function we already had.
We don't just change the previous version because it had lots of users
in the library itself and in the testing code.

Reviewed-by: imsnah
parent d4803c24
......@@ -745,6 +745,8 @@ class GanetiLockManager:
return self.__keyring[level]._is_owned()
is_owned = _is_owned
def _list_owned(self, level):
"""Get the set of owned locks at the given level
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment