From 470ce2eeed07579b92216331f6cb8d76fd9b4697 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Fri, 11 Sep 2009 16:28:13 +0200
Subject: [PATCH] locking: Don't swallow exceptions

This is an indentation bug.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
---
 lib/locking.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/locking.py b/lib/locking.py
index 16f302e73..d24abdf4d 100644
--- a/lib/locking.py
+++ b/lib/locking.py
@@ -498,7 +498,7 @@ class LockSet:
           # Of course something is going to be really wrong, after this.
           if lock._is_owned():
             lock.release()
-            raise
+          raise
 
     except:
       # If something went wrong and we had the set-lock let's release it...
-- 
GitLab