Code formatting
authorThierry Florac <tflorac@ulthar.net>
Wed, 24 Jun 2020 12:07:40 +0200
changeset 1388 8c757af2fc50
parent 1387 6eb6e88e3365
child 1389 1485db1e2b5e
Code formatting
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)