From b3549acd123d4345e98f54c46bf97738a2ed8de0 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Wed, 31 Jan 2018 17:50:52 +0100 Subject: [PATCH] ignore dasclient warning message --- das-utils/das_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/das-utils/das_cache.py b/das-utils/das_cache.py index 5568c6b2d128..47b754325c53 100755 --- a/das-utils/das_cache.py +++ b/das-utils/das_cache.py @@ -31,7 +31,7 @@ def run_das_client(outfile, query, override, dasclient="das_client", threshold=9 das_cmd = "%s --format=json --limit=%s --query '%s%s' %s --threshold=%s" % (dasclient, limit, query, field_filter, retry_str, threshold) print " Running: ",sha,das_cmd print " Fields:",sha,fields - err, out = getstatusoutput(das_cmd) + err, out = getstatusoutput(das_cmd + " | grep -v '^WARNING: '") if err: print " ",sha,out return False