                  return res
              #else:
              #    raise ValueError("locateChild must not return StopTraversal with a resource other than self.")
-@@ -337,7 +371,6 @@
+@@ -337,7 +369,6 @@
                  self.prepath.append(self.postpath.pop(0))
  
          child = self._getChild(None, newres, newpath, updatepaths=updatepaths)

         self._urlsByResource[resource] = url
         return resource
 
@@ -386,7 +420,8 @@
             The contained response will have a status code of
             L{responsecode.BAD_REQUEST}.
         """

 
         def notFound(f):
             f.trap(http.HTTPError)
@@ -417,7 +454,7 @@
                 return f
             return None
 
