[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/introspector/__init__.py Converted XXX to statement.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Jul 9 11:46:18 EDT 2004


Log message for revision 26332:

Converted XXX to statement.




-=-
Modified: Zope3/trunk/src/zope/app/introspector/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/introspector/__init__.py	2004-07-09 15:46:14 UTC (rev 26331)
+++ Zope3/trunk/src/zope/app/introspector/__init__.py	2004-07-09 15:46:17 UTC (rev 26332)
@@ -193,6 +193,8 @@
         return tuple(results)
     
 
+# TODO: This method should go away and only registered interface utilities
+# should be used.
 def interfaceToName(context, interface):
     interface = removeAllProxies(interface)
     if interface is None:
@@ -203,9 +205,9 @@
            if iface == interface]
     
     if not ids:
-        # XXX Do not fail badly, instead resort to the standard
+        # Do not fail badly, instead resort to the standard
         # way of getting the interface name, cause not all interfaces
-        # may be registered.
+        # may be registered as utilities.
         return interface.__module__ + '.' + interface.getName()
 
     assert len(ids) == 1, "Ambiguous interface names: %s" % ids



More information about the Zope3-Checkins mailing list