From a5979597e8bbac4310fd3ed7c89febde7c420237 Mon Sep 17 00:00:00 2001 From: Ramy Asselin Date: Tue, 8 Mar 2016 18:01:11 -0800 Subject: [PATCH] Add missing spaces to queries A few queries are missing spaces between AND operators. Add them back in. Change-Id: Id6a0b620f6544833f02cf4e39f79120643e10b5b --- elastic_recheck/query_builder.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/elastic_recheck/query_builder.py b/elastic_recheck/query_builder.py index c50f8f70..c7c9d8b6 100644 --- a/elastic_recheck/query_builder.py +++ b/elastic_recheck/query_builder.py @@ -81,7 +81,7 @@ def result_ready(review, patch, name, build_short_uuid): 'AND build_status:"FAILURE" ' 'AND build_change:"%s" ' 'AND build_patchset:"%s" ' - 'AND build_name:"%s"' + 'AND build_name:"%s" ' 'AND build_short_uuid:%s' % (review, patch, name, build_short_uuid)) @@ -96,8 +96,8 @@ def files_ready(review, patch, name, build_short_uuid): """ return generic('build_status:"FAILURE" ' 'AND build_change:"%s" ' - 'AND build_patchset:"%s"' - 'AND build_name:"%s"' + 'AND build_patchset:"%s" ' + 'AND build_name:"%s" ' 'AND build_short_uuid:%s' % (review, patch, name, build_short_uuid), facet='filename') @@ -111,7 +111,7 @@ def single_patch(query, review, patch, build_short_uuid): """ return generic('%s ' 'AND build_change:"%s" ' - 'AND build_patchset:"%s"' + 'AND build_patchset:"%s" ' 'AND build_short_uuid:%s' % (query, review, patch, build_short_uuid))