[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/xmlrpcintrospection/xmlrpcintrospection.py Updated to reflect newer public registration interfaces.

Jim Fulton jim at zope.com
Wed Mar 1 00:18:37 EST 2006


Log message for revision 65655:
  Updated to reflect newer public registration interfaces.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/xmlrpcintrospection/xmlrpcintrospection.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/xmlrpcintrospection/xmlrpcintrospection.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/xmlrpcintrospection/xmlrpcintrospection.py	2006-03-01 05:09:09 UTC (rev 65654)
+++ Zope3/branches/jim-adapter/src/zope/app/xmlrpcintrospection/xmlrpcintrospection.py	2006-03-01 05:18:37 UTC (rev 65655)
@@ -139,7 +139,7 @@
 
         for result in self._getRegistrationAdapters(interfaces):
             if result.name == method_name:
-                method = getattr(result.value, method_name)
+                method = getattr(result.factory, method_name)
                 return self._getFunctionSignature(method)
 
         return 'undef'
@@ -151,7 +151,7 @@
 
         for result in self._getRegistrationAdapters(interfaces):
             if result.name == method_name:
-                method = getattr(result.value, method_name)
+                method = getattr(result.factory, method_name)
                 return self._getFunctionHelp(method)
 
         return 'undef'



More information about the Zope3-Checkins mailing list