[Zope3-checkins] CVS: Zope3/src/zope/app/services/pluggableauth - __init__.py:1.16

Jim Fulton jim at zope.com
Fri Mar 5 17:09:48 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/services/pluggableauth
In directory cvs.zope.org:/tmp/cvs-serv15449/src/zope/app/services/pluggableauth

Modified Files:
	__init__.py 
Log Message:
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/app/services/pluggableauth/__init__.py 1.15 => 1.16 ===
--- Zope3/src/zope/app/services/pluggableauth/__init__.py:1.15	Wed Mar  3 05:38:52 2004
+++ Zope3/src/zope/app/services/pluggableauth/__init__.py	Fri Mar  5 17:09:17 2004
@@ -174,7 +174,7 @@
         ['simple', 'not_quite_so_simple']
         """
 
-        if not IPrincipalSource.isImplementedBy(principal_source):
+        if not IPrincipalSource.providedBy(principal_source):
             raise TypeError("Source must implement IPrincipalSource")
         locate(principal_source, self, id)
         self[id] = principal_source        




More information about the Zope3-Checkins mailing list