context=context):
sheet_names[sheet_id] = name
- for line_id in ids:
+ for line_id in {}.fromkeys(ids):
sheet_id = res.get(line_id, False)
if sheet_id:
res[line_id] = (sheet_id, sheet_names[sheet_id])
context=context):
sheet_names[sheet_id] = name
- for line_id in ids:
+ for line_id in {}.fromkeys(ids):
sheet_id = res.get(line_id, False)
if sheet_id:
res[line_id] = (sheet_id, sheet_names[sheet_id])