From 470acbf1e1d0a525cb8af9fb7a82ebe09033e8ca Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 1 Apr 2012 15:08:42 -0700 Subject: [PATCH] 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 e908e425..130250b2 100644 --- a/src/allmydata/mutable/servermap.py +++ b/src/allmydata/mutable/servermap.py @@ -1063,7 +1063,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