Commit dcc6f37e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! py2/py3: Make Products code compatible with both python2 and python3.

parent bd74c630
......@@ -2125,7 +2125,7 @@ class Catalog(Folder,
if len(empty_value_dict):
LOG('SQLCatalog', WARNING, 'Discarding columns with empty values: %r' % (empty_value_dict, ))
if len(unknown_column_dict):
message = 'Unknown columns ' + repr(unknown_column_dict.keys())
message = 'Unknown columns ' + repr(ensure_list(unknown_column_dict.keys()))
if ignore_unknown_columns:
LOG('SQLCatalog', WARNING, message)
else:
......
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