Commit acbf18f5 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update to fix remaining itervalues and iteritems.

parent a14ff11e
......@@ -803,7 +803,7 @@ class RecordPubli(Record):
data = (data if isinstance(data, list) else [data])
li = []
[li.extend(di.itervalues()) for di in data]
[li.extend(di.values()) for di in data]
return ", ".join(sorted(li))
......@@ -172,7 +172,7 @@ def create_harvesters(opt, dfi, dfh):
# categories
for key, value in CONTROLLER_TO_CAT.iteritems():
for key, value in CONTROLLER_TO_CAT.items():
id_category = get_id(db.categories, code=value)
if id_category is None:
print("\n\t\tERROR: category '%s' is not defined. exit" % value)
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