changeset 346:c8f59d078d98

CollectLists: support more than only one level
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 03 Feb 2009 17:13:45 +0100
parents 630b3cfb01dc
children a701beab4b9c
files data/plugin/macro/CollectLists.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/CollectLists.py	Tue Feb 03 15:54:24 2009 +0100
+++ b/data/plugin/macro/CollectLists.py	Tue Feb 03 17:13:45 2009 +0100
@@ -93,7 +93,7 @@
                     row.append((wikiutil.escape(value, 1), wikiutil.escape(value, 1)))
             else:
                 row.append('&nbsp;')
-        parent, child = name.split('/')
+        parent, child = name.split('/', 1)
         link = page.link_to(request, text="/%s" % child)
         data.addRow([link] + row)
         if transpose: