# HG changeset patch # User Thierry Florac # Date 1592993260 -7200 # Node ID 8c757af2fc50047fe393c65a51c9642435d371ed # Parent 6eb6e88e3365e688ce21be0bdfd7052e817b5b0e Code formatting diff -r 6eb6e88e3365 -r 8c757af2fc50 src/pyams_content/features/search/__init__.py --- a/src/pyams_content/features/search/__init__.py Wed Jun 24 10:42:24 2020 +0200 +++ b/src/pyams_content/features/search/__init__.py Wed Jun 24 12:07:40 2020 +0200 @@ -139,5 +139,7 @@ if index_name in catalog: index = catalog[index_name] if index.check_query(fulltext): - query_params.append(Contains(index, ' and '.join((w + '*' for w in fulltext.split())))) + query_params.append( + Contains(index, ' and '.join((w + '*' + for w in fulltext.split())))) yield Or(*query_params)