From: Brian Warner Date: Tue, 12 Aug 2008 04:24:09 +0000 (-0700) Subject: web/directory: enable verify=true in t=deep-check X-Git-Url: https://git.rkrishnan.org/simplejson/frontends?a=commitdiff_plain;h=08e229f29a049ed92ab6af7574d2b72119e46f4b;p=tahoe-lafs%2Ftahoe-lafs.git web/directory: enable verify=true in t=deep-check --- diff --git a/src/allmydata/web/directory.py b/src/allmydata/web/directory.py index 7ab7080d..6adcd072 100644 --- a/src/allmydata/web/directory.py +++ b/src/allmydata/web/directory.py @@ -338,7 +338,10 @@ class DirectoryNodeHandler(RenderMixin, rend.Page, ReplaceMeMixin): def _POST_deep_check(self, req): # check this directory and everything reachable from it - d = self.node.deep_check() + verify = boolean_of_arg(get_arg(req, "verify", "false")) + #repair = boolean_of_arg(get_arg(req, "repair", "false")) + repair = False # make sure it works first + d = self.node.deep_check(verify, repair) d.addCallback(lambda res: DeepCheckResults(res)) return d