From 3edc1c1f278af33bc0f906b7b3b95e4156a0b477 Mon Sep 17 00:00:00 2001 From: "Jesus M. Gonzalez-Barahona" Date: Tue, 7 Aug 2018 18:00:11 +0200 Subject: [PATCH] Fix weird warning This is just to fix a weird warning, see https://github.com/chaoss/grimoirelab-sirmordred/issues/192 This fix can be saafely removed once the problem is fixed in the imported modules. --- bin/kidash | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/kidash b/bin/kidash index 48264e20..03597162 100755 --- a/bin/kidash +++ b/bin/kidash @@ -30,11 +30,16 @@ import sys from requests import HTTPError +# Quick fix for avoiding weird warnings +# https://github.com/chaoss/grimoirelab-sirmordred/issues/192 +import warnings +warnings.filterwarnings("ignore", message="numpy.dtype size changed") +warnings.filterwarnings("ignore", message="numpy.ufunc size changed") + from grimoire_elk.raw.elastic import ElasticOcean from grimoire_elk.utils import config_logging from kidash.kidash import import_dashboard, export_dashboard, list_dashboards - def get_params_parser_create_dash(): """Parse command line arguments"""