From: robk-tahoe Date: Wed, 11 Jun 2008 22:35:27 +0000 (-0700) Subject: webish: re-fix the addSlash issue in directory rendering X-Git-Tag: allmydata-tahoe-1.2.0~92 X-Git-Url: https://git.rkrishnan.org/components/%22news.html/about.html?a=commitdiff_plain;h=212c19fc459e71ab1510981e387dc707e4a7b43f;p=tahoe-lafs%2Ftahoe-lafs.git webish: re-fix the addSlash issue in directory rendering 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. --- diff --git a/src/allmydata/web/directory.py b/src/allmydata/web/directory.py index 2bd51f15..5fe2db63 100644 --- a/src/allmydata/web/directory.py +++ b/src/allmydata/web/directory.py @@ -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)