From a238144bc6825fe3adb86b59f43b9102e2247e78 Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Mon, 30 Sep 2013 19:15:03 +0200 Subject: [PATCH] Lists can only contain strings in es api, also broke py3 This reverts commit 7eb4949641383196614c46ea0ca171603decc041. --- elasticsearch/client/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/client/utils.py b/elasticsearch/client/utils.py index 620c197c..722f9821 100644 --- a/elasticsearch/client/utils.py +++ b/elasticsearch/client/utils.py @@ -18,7 +18,7 @@ def _escape(value): # make sequences into comma-separated stings if isinstance(value, (list, tuple)): - value = ','.join(map(_escape, value)) + value = u','.join(value) # dates and datetimes into isoformat elif isinstance(value, (date, datetime)):