From 105443cbf5a88ef1cbf8b8bfd7c133ed2cb60e24 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Thu, 5 Sep 2013 17:59:59 +0100 Subject: [PATCH] Sun Apr 1 23:10:34 BST 2012 Brian Warner * servermap.py: oops, fix _done() condition, good catch by davidsarah --- src/allmydata/mutable/servermap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/mutable/servermap.py b/src/allmydata/mutable/servermap.py index 5e95ca8e..912a97a8 100644 --- a/src/allmydata/mutable/servermap.py +++ b/src/allmydata/mutable/servermap.py @@ -1061,7 +1061,7 @@ class ServermapUpdater: parent=lp) return self._done() - if self.mode == (MODE_CHECK, MODE_REPAIR): + if self.mode in (MODE_CHECK, MODE_REPAIR): # we used self._must_query, and we know there aren't any # responses still waiting, so that means we must be done self.log("done", parent=lp) -- 2.45.2