From: Brian Warner <warner@lothar.com>
Date: Thu, 14 Jan 2010 22:28:04 +0000 (-0800)
Subject: web/directory.py mkdir-immutable: hush pyflakes, add TODO for #903 behavior
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/%22doc.html/vdrive?a=commitdiff_plain;h=2e098e2a4ddc66a8cc935f447a65a343d18c587d;p=tahoe-lafs%2Ftahoe-lafs.git

web/directory.py mkdir-immutable: hush pyflakes, add TODO for #903 behavior
---

diff --git a/src/allmydata/web/directory.py b/src/allmydata/web/directory.py
index 6b4faa03..0bda9728 100644
--- a/src/allmydata/web/directory.py
+++ b/src/allmydata/web/directory.py
@@ -265,7 +265,8 @@ class DirectoryNodeHandler(RenderMixin, rend.Page, ReplaceMeMixin):
             # which created the final directory (i.e. us)
             return defer.succeed(self.node.get_uri()) # TODO: urlencode
         name = name.decode("utf-8")
-        replace = boolean_of_arg(get_arg(req, "replace", "true"))
+        # TODO: decide on replace= behavior, see #903
+        #replace = boolean_of_arg(get_arg(req, "replace", "true"))
         req.content.seek(0)
         kids_json = req.content.read()
         kids = convert_children_json(self.client.nodemaker, kids_json)