webish: re-fix the addSlash issue in directory rendering
authorrobk-tahoe <robk-tahoe@allmydata.com>
Wed, 11 Jun 2008 22:35:27 +0000 (15:35 -0700)
committerrobk-tahoe <robk-tahoe@allmydata.com>
Wed, 11 Jun 2008 22:35:27 +0000 (15:35 -0700)
having fixed the relevant unit test not to assert incorrect behaviour of
the node when rendering directories, it's now safe to fix the latter.

src/allmydata/web/directory.py

index 2bd51f156d4be72712e4a2ced7ca6cc11714917d..5fe2db63237c48427a6977851d6d233d2b5cbda1 100644 (file)
@@ -367,7 +367,7 @@ class DirectoryAsHTML(rend.Page):
     # The remainder of this class is to render the directory into
     # human+browser -oriented HTML.
     docFactory = getxmlfile("directory.xhtml")
-    #addSlash = True
+    addSlash = True
 
     def __init__(self, node):
         rend.Page.__init__(self)