[CMF-checkins] CVS: CMF/CMFWiki - CMFWikiPage.py:1.25

Ken Manheimer klm@zope.com
Thu, 21 Mar 2002 15:23:38 -0500


Update of /cvs-repository/CMF/CMFWiki
In directory cvs.zope.org:/tmp/cvs-serv26583

Modified Files:
	CMFWikiPage.py 
Log Message:
.unravel_nesting(): Fix leaf-node boundary condition.


=== CMF/CMFWiki/CMFWikiPage.py 1.24 => 1.25 ===
         [(pagename, depth, offspring_suppressed?)]"""
 
+    if type(nesting) == type(''):
+        return [(nesting, curdepth, 0)]
     if len(nesting) == 1:
         return [(nesting[0], curdepth, 1)]
     got = []