Fix some long lines
@@ -1486,10 +1486,13 @@ def modify_items(lib, mods, dels, query, write, move, album, confirm):
print_('Modifying {} {}s.'
.format(len(objs), 'album' if album else 'item'))
changed = []
- templates = {key: functemplate.template(value) for key, value in mods.items()}
+ templates = {key: functemplate.template(value)
+ for key, value in mods.items()}
for obj in objs:
- obj_mods = {key: model_cls._parse(key, obj.evaluate_template(templates[key]))
- for key in mods.keys()}
+ obj_mods = {
+ key: model_cls._parse(key, obj.evaluate_template(templates[key]))
+ for key in mods.keys()
+ }
if print_and_modify(obj, obj_mods, dels) and obj not in changed:
changed.append(obj)
