Commit cd2a11e5 authored by Jim Fulton's avatar Jim Fulton

Fixed new bug in handling leaves.

parent 9d79b7f3
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
# rights reserved. # rights reserved.
# #
############################################################################ ############################################################################
__rcs_id__='$Id: TreeTag.py,v 1.24 1998/07/23 14:03:08 jim Exp $' __rcs_id__='$Id: TreeTag.py,v 1.25 1998/07/23 18:17:16 jim Exp $'
__version__='$Revision: 1.24 $'[11:-2] __version__='$Revision: 1.25 $'[11:-2]
from DocumentTemplate.DT_Util import * from DocumentTemplate.DT_Util import *
from DocumentTemplate.DT_String import String from DocumentTemplate.DT_String import String
...@@ -352,7 +352,7 @@ def tpRenderTABLE(self, id, root_url, url, state, substate, diff, data, ...@@ -352,7 +352,7 @@ def tpRenderTABLE(self, id, root_url, url, state, substate, diff, data,
if items==1: if items==1:
# leaves # leaves
if have_arg['leaves']: if have_arg('leaves'):
doc=args['leaves'] doc=args['leaves']
if md.has_key(doc): doc=md.getitem(doc,0) if md.has_key(doc): doc=md.getitem(doc,0)
else: doc=None else: doc=None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment