Skip to content

Commit

Permalink
- ZCatalog: refreshCatalog() could not be called safely from a ZEO
Browse files Browse the repository at this point in the history
  client script
  • Loading branch information
zopyx committed Aug 16, 2005
1 parent c217478 commit 9cebd8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ZCatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ def refreshCatalog(self, clear=0, pghandler=None):

p = paths[i]
obj = self.resolve_path(p)
if not obj:

if not obj and hasattr(self, 'REQUEST'):
obj = self.resolve_url(p, self.REQUEST)
if obj is not None:
try:
Expand Down

0 comments on commit 9cebd8d

Please sign in to comment.