storage webstatus: insert spaces when we're configured to expire multiple sharetypes
authorBrian Warner <warner@allmydata.com>
Fri, 20 Mar 2009 22:44:50 +0000 (15:44 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 20 Mar 2009 22:44:50 +0000 (15:44 -0700)
src/allmydata/web/storage.py

index 6fdaf241c45e3d6426e4332eb1c571260546f88b..ca1775faa3934e50b47fb52c207946dfb5b8449a 100644 (file)
@@ -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):