Commit 7a7e9611 authored by Michel Pelletier's avatar Michel Pelletier

Fixed tyop (added string.find instead of find, thanks to Anthony

Baxter)
parent 93918ccf
......@@ -522,7 +522,7 @@ class ZCatalog(Folder, Persistent, Implicit):
and
(not obj_searchterm or
(hasattr(ob, 'PrincipiaSearchSource') and
find(ob.PrincipiaSearchSource(), obj_searchterm) >= 0
string.find(ob.PrincipiaSearchSource(), obj_searchterm) >= 0
))
and
(not obj_expr or expr_match(ob, obj_expr))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment