On Fri, Jul 15, 2011 at 01:05:47AM +0200, Michael Hanselmann wrote:
> This will be useful for assertions. GanetiLockManager._is_owned is
> exported, too.
> 
> Signed-off-by: Michael Hanselmann <[email protected]>
> ---
>  lib/locking.py |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/lib/locking.py b/lib/locking.py
> index 4a431b3..18d41fa 100644
> --- a/lib/locking.py
> +++ b/lib/locking.py
> @@ -542,6 +542,8 @@ class SharedLock(object):
>      finally:
>        self.__lock.release()
>  
> +  is_owned = _is_owned
> +

I guess the re-export instead of rename is just for reducing code churn?

iustin

Reply via email to