Skip to content

Commit

Permalink
Fixed tyop (added string.find instead of find, thanks to Anthony
Browse files Browse the repository at this point in the history
Baxter)
  • Loading branch information
Michel Pelletier committed Jan 4, 2000
1 parent d923ec7 commit b9d6d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZCatalog.py
Expand Up @@ -522,7 +522,7 @@ def ZopeFindAndApply(self, obj, obj_ids=None, obj_metatypes=None,
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))
Expand Down

0 comments on commit b9d6d6d

Please sign in to comment.