[Zope-Checkins] CVS: Zope/lib/python/Interface - Implements.py:1.4
Andreas Jung
andreas@andreas-jung.com
Wed, 12 Feb 2003 03:46:09 -0500
Update of /cvs-repository/Zope/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv5279/lib/python/Interface
Modified Files:
Implements.py
Log Message:
- Interface package: isImplementedBy() returned None instead of 0.
=== Zope/lib/python/Interface/Implements.py 1.3 => 1.4 ===
--- Zope/lib/python/Interface/Implements.py:1.3 Wed Aug 14 17:35:32 2002
+++ Zope/lib/python/Interface/Implements.py Wed Feb 12 03:46:09 2003
@@ -95,7 +95,7 @@
raise Exceptions.BadImplements(
"""__implements__ should be an interface or tuple,
not a %s""" % type(implements).__name__)
- return None
+ return 0
def assertTypeImplements(type, interfaces):