]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
servermap.py: oops, fix _done() condition, good catch by davidsarah
authorBrian Warner <warner@lothar.com>
Sun, 1 Apr 2012 22:08:42 +0000 (15:08 -0700)
committerBrian Warner <warner@lothar.com>
Sun, 1 Apr 2012 22:10:34 +0000 (15:10 -0700)
src/allmydata/mutable/servermap.py

index e908e42598da1d78964b3c37db035349b9480041..130250b29c81407abe22e8048666c6fdb0ad79f4 100644 (file)
@@ -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)