Commit 46f0e40f authored by Vincent Pelletier's avatar Vincent Pelletier

Fix a non-existing variable name in an error path. Spotted by Kazuhiko, thanks.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25928 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ef1f90c4
...@@ -1743,7 +1743,7 @@ class Catalog(Folder, ...@@ -1743,7 +1743,7 @@ class Catalog(Folder,
for related_key in self.sql_catalog_related_keys: for related_key in self.sql_catalog_related_keys:
split_entire_definition = related_key.split('|') split_entire_definition = related_key.split('|')
if len(split_entire_definition) != 2: if len(split_entire_definition) != 2:
LOG('SQLCatalog', WARNING, 'Malformed related key definition: %r. Ignored.' % (entire_definition, )) LOG('SQLCatalog', WARNING, 'Malformed related key definition: %r. Ignored.' % (related_key, ))
continue continue
related_key_id = split_entire_definition[0].strip() related_key_id = split_entire_definition[0].strip()
if related_key_id in column_set: if related_key_id in column_set:
......
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