From e35c293dcb388b4e6e8a33b2bd87c8e8ef1cf6aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 2 Apr 2021 22:47:01 +0200 Subject: [PATCH] trivial: fix subprocess-run-check pylint warning (#52732) --- pylint.rc | 1 - wcs/qommon/spooler.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pylint.rc b/pylint.rc index 5ab5a0e20..e25971389 100644 --- a/pylint.rc +++ b/pylint.rc @@ -43,7 +43,6 @@ disable= redefined-outer-name, signature-differs, stop-iteration-return, - subprocess-run-check, super-init-not-called, superfluous-parens, too-many-ancestors, diff --git a/wcs/qommon/spooler.py b/wcs/qommon/spooler.py index cf77db8b0..f0caf9412 100644 --- a/wcs/qommon/spooler.py +++ b/wcs/qommon/spooler.py @@ -31,5 +31,6 @@ def run_after_job(args): args['tenant_dir'].strip('/').split('/')[-1], '--job-id', args['job_id'], - ] + ], + check=False, )