[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/browser - apidoc.py:1.2

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Mar 10 07:24:17 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/apidoc/browser
In directory cvs.zope.org:/tmp/cvs-serv23376/src/zope/app/apidoc/browser

Modified Files:
	apidoc.py 
Log Message:


Cleanup.




=== Zope3/src/zope/app/apidoc/browser/apidoc.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/apidoc/browser/apidoc.py:1.1	Thu Feb 19 15:46:39 2004
+++ Zope3/src/zope/app/apidoc/browser/apidoc.py	Wed Mar 10 07:24:16 2004
@@ -17,17 +17,14 @@
 """
 from zope.app.apidoc.utilities import stx2html
 
-__metaclass__ = type
-
-class APIDocumentation:
+class APIDocumentation(object):
     """View for the API Documentation"""
 
     def getModuleList(self):
         """Get a list of all available documentation modules."""
-        modules = []
         items = list(self.context.items())
         items.sort()
         return [{'name': name,
-                 'title': m.title,
-                 'description': stx2html(m.description)}
-                for name, m in items ]
+                 'title': module.title,
+                 'description': stx2html(module.description)}
+                for name, module in items ]




More information about the Zope3-Checkins mailing list