[Zope-dev] Zope 2.1.6 ZCatalog: minor bug, missing "find" import -- with patch
Dieter Maurer
dieter@handshake.de
Sun, 28 May 2000 18:08:37 +0200
--Multipart_Sun_May_28_18:08:31_2000-1
Content-Type: text/plain; charset=US-ASCII
I just found a minor bug in Zope 2.1.6's ZCatalog (distribution).
"ZCatalog.py" does not import "find".
If the "containing" field contains a value, a NameError exception
is raised.
Patch appended.
Dieter
--Multipart_Sun_May_28_18:08:31_2000-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="ZCatalog.pat"
Content-Transfer-Encoding: 8bit
--- :ZCatalog.py Fri Nov 5 19:58:54 1999
+++ ZCatalog.py Sun May 28 17:55:05 2000
@@ -99,6 +99,7 @@
from Catalog import Catalog, orify
from SearchIndex import UnIndex, UnTextIndex
import IOBTree
+from string import find
manage_addZCatalogForm=HTMLFile('addZCatalog',globals())
--Multipart_Sun_May_28_18:08:31_2000-1--