]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Sun Apr 1 23:10:34 BST 2012 Brian Warner <warner@lothar.com>
authorDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 16:59:59 +0000 (17:59 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 16:59:59 +0000 (17:59 +0100)
  * servermap.py: oops, fix _done() condition, good catch by davidsarah

src/allmydata/mutable/servermap.py

index 5e95ca8e5d2e2e40647d7305fad0384a24fb50d1..912a97a8334c30027d747953d176a715d11fec52 100644 (file)
@@ -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)