Commit 470ce2ee authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

locking: Don't swallow exceptions



This is an indentation bug.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 87e43988
......@@ -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...
......
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