]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
web/directory.py mkdir-immutable: hush pyflakes, add TODO for #903 behavior
authorBrian Warner <warner@lothar.com>
Thu, 14 Jan 2010 22:28:04 +0000 (14:28 -0800)
committerBrian Warner <warner@lothar.com>
Thu, 14 Jan 2010 22:28:04 +0000 (14:28 -0800)
src/allmydata/web/directory.py

index 6b4faa0305ec72a997fd8caba2aa5fbf76519c6b..0bda972825acc8fa2d55ec7cce22051665c716db 100644 (file)
@@ -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)