From: Daira Hopwood Date: Thu, 5 Sep 2013 16:59:59 +0000 (+0100) Subject: Sun Apr 1 23:10:34 BST 2012 Brian Warner X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22news.html//%22%22.?a=commitdiff_plain;h=105443cbf5a88ef1cbf8b8bfd7c133ed2cb60e24;p=tahoe-lafs%2Ftahoe-lafs.git Sun Apr 1 23:10:34 BST 2012 Brian Warner * 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 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)