From: Brian Warner <warner@allmydata.com>
Date: Fri, 20 Mar 2009 22:44:50 +0000 (-0700)
Subject: storage webstatus: insert spaces when we're configured to expire multiple sharetypes
X-Git-Tag: allmydata-tahoe-1.4.0~39
X-Git-Url: https://git.rkrishnan.org/specifications/install.html?a=commitdiff_plain;h=4f4d748fd91469ef6813de2141c68f3c1863aec0;p=tahoe-lafs%2Ftahoe-lafs.git

storage webstatus: insert spaces when we're configured to expire multiple sharetypes
---

diff --git a/src/allmydata/web/storage.py b/src/allmydata/web/storage.py
index 6fdaf241..ca1775fa 100644
--- a/src/allmydata/web/storage.py
+++ b/src/allmydata/web/storage.py
@@ -144,7 +144,7 @@ class StorageStatus(rend.Page):
                     "will be considered expired." % date]
         if len(lc.mode) > 2:
             ctx.tag[" The following sharetypes will be expired: ",
-                    sorted(lc.sharetypes_to_expire), "."]
+                    " ".join(sorted(lc.sharetypes_to_expire)), "."]
         return ctx.tag
 
     def format_recovered(self, sr, a):