[Zope3-checkins] CVS: Zope3/src/zope/app/component - interfacefield.py:1.11

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Dec 16 05:32:36 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv15115/src/zope/app/component

Modified Files:
	interfacefield.py 
Log Message:
eek, this was a combination of a small interfacewidget typo and a case of 
not having mutableschema code synced with the static interface implementation


=== Zope3/src/zope/app/component/interfacefield.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/component/interfacefield.py:1.10	Fri Jul 11 22:47:12 2003
+++ Zope3/src/zope/app/component/interfacefield.py	Tue Dec 16 05:32:05 2003
@@ -51,7 +51,7 @@
         if not IInterface.isImplementedBy(value):
             raise ValidationError("Not an interface", value)
 
-        if not value.extends(basetype, 0):
+        if not value.extends(basetype, False):
             raise ValidationError("Does not extend", value, basetype)
 
 class InterfacesField(Tuple):




More information about the Zope3-Checkins mailing list