summaryrefslogtreecommitdiffstats
path: root/dashboard/dashboard/common/elastic_access.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2017-02-14 14:37:05 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2017-02-14 16:58:05 +0100
commit44afde12259d551b74cd0a5d66637e53443ad045 (patch)
treec82bb68a199ec491dc2ab36dcd89fb56dbd8afad /dashboard/dashboard/common/elastic_access.py
parent4b89f3d9563dcd0e80b5d66aaad1976ab8073225 (diff)
Fix flake8 violations in releng
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'dashboard/dashboard/common/elastic_access.py')
-rw-r--r--dashboard/dashboard/common/elastic_access.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/dashboard/common/elastic_access.py b/dashboard/dashboard/common/elastic_access.py
index aaf776f..eb29ce8 100644
--- a/dashboard/dashboard/common/elastic_access.py
+++ b/dashboard/dashboard/common/elastic_access.py
@@ -30,7 +30,7 @@ def publish_docs(url, creds=None, body=None):
def _get_docs_nr(url, creds=None, body=None):
res_data = _get('{}/_search?size=0'.format(url), creds=creds, body=body)
- print type(res_data), res_data
+ print(type(res_data), res_data)
return res_data['hits']['total']