From: Brian Warner Date: Sun, 1 Apr 2012 22:08:42 +0000 (-0700) Subject: servermap.py: oops, fix _done() condition, good catch by davidsarah X-Git-Url: https://git.rkrishnan.org/running.html?a=commitdiff_plain;h=470acbf1e1d0a525cb8af9fb7a82ebe09033e8ca;p=tahoe-lafs%2Ftahoe-lafs.git servermap.py: oops, fix _done() condition, good catch by davidsarah --- 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)