[Zope-Checkins] CVS: Zope/lib/python/Interface - Implements.py:1.3.6.1
Andreas Jung
andreas@andreas-jung.com
Wed, 12 Feb 2003 03:43:27 -0500
Update of /cvs-repository/Zope/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv4832/lib/python/Interface
Modified Files:
Tag: Zope-2_6-branch
Implements.py
Log Message:
Interface package: isImplementedBy() returned None instead of 0.
=== Zope/lib/python/Interface/Implements.py 1.3 => 1.3.6.1 ===
--- 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:43:26 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):