ajack       2003/10/18 16:30:18

  Modified:    python/gump document.py
  Log:
  Check length of Parameter object, to add 's'
  
  Revision  Changes    Path
  1.86      +1 -1      jakarta-gump/python/gump/document.py
  
  Index: document.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/document.py,v
  retrieving revision 1.85
  retrieving revision 1.86
  diff -u -r1.85 -r1.86
  --- document.py       18 Oct 2003 22:24:56 -0000      1.85
  +++ document.py       18 Oct 2003 23:30:18 -0000      1.86
  @@ -825,7 +825,7 @@
           #
           if work.command.params:
               title='Parameter'
  -            if len(work.command.params) > 1:
  +            if len(work.command.params.items()) > 1:
                   title += 's'
               startSectionXDoc(x,title)    
               x.write('<table><tr><th>Prefix</th><th>Name</th><th>Value</th></tr>')
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to