[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/apidoc/presentation.py Fixed a bug in adapter-function introspection.

Jim Fulton jim at zope.com
Sat Apr 16 09:52:26 EDT 2005


Log message for revision 30013:
  Fixed a bug in adapter-function introspection.
  
  This needa a test.
  

Changed:
  U   Zope3/trunk/src/zope/app/apidoc/presentation.py

-=-
Modified: Zope3/trunk/src/zope/app/apidoc/presentation.py
===================================================================
--- Zope3/trunk/src/zope/app/apidoc/presentation.py	2005-04-15 19:54:17 UTC (rev 30012)
+++ Zope3/trunk/src/zope/app/apidoc/presentation.py	2005-04-16 13:52:26 UTC (rev 30013)
@@ -67,7 +67,7 @@
         info['path'] = getPythonPath(factory)
 
     elif isinstance(factory, FunctionType):
-        info['path'] = getPythonPath(factory.factory)
+        info['path'] = getPythonPath(factory)
     else:
         info['path'] = getPythonPath(factory)
 



More information about the Zope3-Checkins mailing list