[Erp5-report] r16482 - /erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Sep 19 23:26:44 CEST 2007
Author: yo
Date: Wed Sep 19 23:26:43 2007
New Revision: 16482
URL: http://svn.erp5.org?rev=16482&view=rev
Log:
Fix undefined names.
Modified:
erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
Modified: erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/SQLCatalog.py?rev=16482&r1=16481&r2=16482&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/SQLCatalog.py (original)
+++ erp5/trunk/products/ZSQLCatalog/SQLCatalog.py Wed Sep 19 23:26:43 2007
@@ -69,7 +69,7 @@
"""
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 @@
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):
More information about the Erp5-report
mailing list