]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
web/filenode: remove unreachable code
authorBrian Warner <warner@allmydata.com>
Tue, 20 May 2008 01:38:28 +0000 (18:38 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 20 May 2008 01:38:28 +0000 (18:38 -0700)
src/allmydata/web/filenode.py

index 608dc19e20b3075ec215c7ee27aa5177499dec68..4710d504bb3049ff4e9d32068a071779cee27da4 100644 (file)
@@ -87,16 +87,6 @@ class PlaceHolderNodeHandler(RenderMixin, rend.Page, ReplaceMeMixin):
         self.name = name
         self.node = None
 
-    def childFactory(self, ctx, name):
-        req = IRequest(ctx)
-        if should_create_intermediate_directories(req):
-            raise WebError("Cannot create directory '%s', because its "
-                           "parent is a file, not a directory" % name,
-                           http.CONFLICT)
-        raise WebError("Files have no children, certainly not named '%s'"
-                       % name, http.CONFLICT)
-
-
     def render_PUT(self, ctx):
         req = IRequest(ctx)
         t = get_arg(req, "t", "").strip()