web/directory: enable verify=true in t=deep-check

This commit is contained in:
Brian Warner 2008-08-11 21:24:09 -07:00
parent 1306b11a76
commit 08e229f29a
1 changed files with 4 additions and 1 deletions

View File

@ -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