Commit a7a88612 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Fix undefined names.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16482 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 14355976
......@@ -69,7 +69,7 @@ except ImportError:
"""
def __init__(self, callable, **kw):
self.function = callable
def __call__(*opts, **kw):
def __call__(self, *opts, **kw):
return self.function(*opts, **kw)
enableReadOnlyTransactionCache = doNothing
disableReadOnlyTransactionCache = doNothing
......@@ -1795,7 +1795,7 @@ class Catalog( Folder,
for uid in uid_list:
search_result = method(uid = uid)
if len(search_result) > 0:
uid_path__dict[uid] = search_result[0].path
uid_path_dict[uid] = search_result[0].path
return uid_path_dict
def hasPath(self, path):
......
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