Commit 08908c54 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Arnaud Fontaine

erp5_full_text_mroonga_catalog: Make code compatible with both python2 and python3.

parent d11cb549
from Products.ERP5Type.Utils import UpperCase
from ZODB.POSException import ConflictError
from zExceptions import Unauthorized
import six
method = context.z_catalog_fulltext_list
property_list = method.arguments_src.split()
......@@ -24,7 +25,7 @@ for group_object in object_list:
except Exception:
group_object.raised()
else:
for property, value in tmp_dict.iteritems():
for property, value in six.iteritems(tmp_dict):
parameter_dict[property].append(value)
group_object.result = None
......
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