[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/onlinehelp/browser/tree.py Removed unused argument

Dmitry Vasiliev dima at hlabs.spb.ru
Tue Jul 5 10:02:23 EDT 2005


Log message for revision 31007:
  Removed unused argument
  

Changed:
  UU  Zope3/trunk/src/zope/app/onlinehelp/browser/tree.py

-=-
Modified: Zope3/trunk/src/zope/app/onlinehelp/browser/tree.py
===================================================================
--- Zope3/trunk/src/zope/app/onlinehelp/browser/tree.py	2005-07-05 13:57:35 UTC (rev 31006)
+++ Zope3/trunk/src/zope/app/onlinehelp/browser/tree.py	2005-07-05 14:02:23 UTC (rev 31007)
@@ -69,9 +69,9 @@
           </li>
         <ul>
         """
-        return self.renderTree(self.onlinehelp, self.request)
+        return self.renderTree(self.onlinehelp)
 
-    def renderTree(self, root, request):
+    def renderTree(self, root):
         """Reder a unordered list 'ul' tree with a class name 'tree'."""
         res = []
         intend = "  "
@@ -109,8 +109,8 @@
 
             res.append(self.renderLink(item))
             if len(item.getSubTopics()) > 0:
-                res.append('    %s%s' % (self.renderItemList(item, intend), 
-                    intend))
+                res.append('    %s%s' % (
+                    self.renderItemList(item, intend), intend))
             res.append('  %s</li>' % intend)
         res.append('%s</ul>' % intend)
 


Property changes on: Zope3/trunk/src/zope/app/onlinehelp/browser/tree.py
___________________________________________________________________
Name: svn:keywords
   + Id



More information about the Zope3-Checkins mailing list