[Zope3-checkins] CVS: Zope3/src/zope/app/component - interfacefield.py:1.6
Steve Alexander
steve@cat-box.net
Fri, 17 Jan 2003 11:30:19 -0500
Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv15474/src/zope/app/component
Modified Files:
interfacefield.py
Log Message:
removed unneeded whitespace.
=== Zope3/src/zope/app/component/interfacefield.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/component/interfacefield.py:1.5 Mon Jan 6 13:39:32 2003
+++ Zope3/src/zope/app/component/interfacefield.py Fri Jan 17 11:30:17 2003
@@ -42,13 +42,13 @@
def _validate(self, value):
super(InterfaceField, self)._validate(value)
basetype = self.basetype
-
+
if value is None and basetype is None:
return
if basetype is None:
basetype = Interface
-
+
if not IInterface.isImplementedBy(value):
raise ValidationError("Not an interface", value)
@@ -84,7 +84,7 @@
for item in value:
if item is None and none_ok:
continue
-
+
if not IInterface.isImplementedBy(item):
raise ValidationError("Not an interface", item)