summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Schlichting <hanno@hannosch.eu>2012-09-03 19:07:40 +0200
committerHanno Schlichting <hanno@hannosch.eu>2012-09-03 19:07:40 +0200
commit3678eb8841d553a4ec3109e3b78079db05b3e6e7 (patch)
tree73a504bcac066c42023a4dade728e1fa5b003518
parent6bab29824021fac7bfe9ba410cb47fef840d21bb (diff)
downloadkazoo-3678eb8841d553a4ec3109e3b78079db05b3e6e7.tar.gz
ignore another edge-case in recipe.barrier
-rw-r--r--kazoo/recipe/barrier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kazoo/recipe/barrier.py b/kazoo/recipe/barrier.py
index e83c4cf..5054f06 100644
--- a/kazoo/recipe/barrier.py
+++ b/kazoo/recipe/barrier.py
@@ -152,7 +152,7 @@ class DoubleBarrier(object):
"""Leave the barrier, blocks until all nodes have left"""
try:
self.client.retry(self._inner_leave)
- except Exception:
+ except Exception: # pragma: nocover
# Failed to cleanly leave
self._best_effort_cleanup()
self.participating = False