From e788f7ec44a78d8c0986029388a138f6b05f997d Mon Sep 17 00:00:00 2001 From: Justin Findlay Date: Fri, 6 May 2016 09:22:20 -0600 Subject: [PATCH] modules.npm: do not log npm --version at info level (#33084) --- salt/modules/npm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/npm.py b/salt/modules/npm.py index 1f88a7d801..ce975e976d 100644 --- a/salt/modules/npm.py +++ b/salt/modules/npm.py @@ -49,7 +49,7 @@ def _check_valid_version(): ''' # pylint: disable=no-member npm_version = distutils.version.LooseVersion( - salt.modules.cmdmod.run('npm --version', python_shell=True)) + salt.modules.cmdmod.run('npm --version', output_loglevel='quiet')) valid_version = distutils.version.LooseVersion('1.2') # pylint: enable=no-member if npm_version < valid_version: