From 08e229f29a049ed92ab6af7574d2b72119e46f4b Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 11 Aug 2008 21:24:09 -0700 Subject: [PATCH] web/directory: enable verify=true in t=deep-check --- src/allmydata/web/directory.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.45.2