From e0c93a5cd08a903f88b20494636337134139558b Mon Sep 17 00:00:00 2001 From: Brandon Myers Date: Fri, 18 Nov 2016 17:10:41 -0600 Subject: [PATCH] Default to DSL instead of pyes Signed-off-by: Brandon Myers --- lib/pyes_enabled.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pyes_enabled.py b/lib/pyes_enabled.py index 87ab1a68..6a764a70 100644 --- a/lib/pyes_enabled.py +++ b/lib/pyes_enabled.py @@ -3,6 +3,8 @@ import os global pyes_on pyes_off = os.environ.get('DSL') +# We're gonna short circuit and turn off pyes +pyes_off = 'True' if pyes_off == 'True': pyes_on = False print "\nUsing Elasticsearch DSL\n"