# HG changeset patch # User Thierry Florac # Date 1512728551 -3600 # Node ID 26ff0b922ab0cf885d854f30a664ee1ed38ea0da # Parent 605900ea3781537cbbedc071d4d7857144bc2013 Updated paragraphs indexer diff -r 605900ea3781 -r 26ff0b922ab0 src/pyams_content_es/component/paragraph.py --- a/src/pyams_content_es/component/paragraph.py Fri Dec 08 11:19:25 2017 +0100 +++ b/src/pyams_content_es/component/paragraph.py Fri Dec 08 11:22:31 2017 +0100 @@ -77,8 +77,7 @@ if title: info.setdefault(lang, title) for image in IGalleryParagraph(paragraph).values(): - for attr in ('title', 'alt_title', 'description', 'author', 'author_comments', 'sound_title', - 'sound_description'): + for attr in ('title', 'alt_title', 'description', 'author_comments', 'sound_title', 'sound_description'): for lang, value in (getattr(image, attr, {}) or {}).items(): if value: new_info = '{old}\n{value}'.format(old=info.get(lang, ''),