[Zope-Checkins] CVS: Zope/lib/python/Shared/DC/ZRDB - DA.py:1.105.6.2

Christian Theune ct@gocept.com
Wed, 26 Feb 2003 09:57:42 -0500


Update of /cvs-repository/Zope/lib/python/Shared/DC/ZRDB
In directory cvs.zope.org:/tmp/cvs-serv20754

Modified Files:
      Tag: Zope-2_6-branch
	DA.py 
Log Message:
backport of the fix that got into HEAD earlier on


=== Zope/lib/python/Shared/DC/ZRDB/DA.py 1.105.6.1 => 1.105.6.2 ===
--- Zope/lib/python/Shared/DC/ZRDB/DA.py:1.105.6.1	Mon Dec 16 18:28:03 2002
+++ Zope/lib/python/Shared/DC/ZRDB/DA.py	Wed Feb 26 09:57:41 2003
@@ -415,7 +415,7 @@
             try:     query=apply(self.template, (p,), argdata)
             except TypeError, msg:
                 msg = str(msg)
-                if find(msg,'client'):
+                if find(msg,'client') >=0:
                     raise NameError("'client' may not be used as an " +
                         "argument name in this context")
                 else: raise