From 73bb06ae84d19538bdc5cff6a8010ed19c795709 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Sat, 4 Jun 2016 11:05:21 -0700 Subject: [PATCH] Fix the code-smell tests for six again --- test/code-smell/use-compat-six.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/code-smell/use-compat-six.sh b/test/code-smell/use-compat-six.sh index 7ebc34d149..3c3dac7b4b 100755 --- a/test/code-smell/use-compat-six.sh +++ b/test/code-smell/use-compat-six.sh @@ -3,7 +3,7 @@ # Do we want to check dynamic inventory, bin, etc? BASEDIR=${1-"lib"} -SIX_USERS=$(find "$BASEDIR" -name '*.py' -exec grep -wH six \{\} \;|grep import |grep -v ansible.compat) +SIX_USERS=$(find "$BASEDIR" -name '*.py' -exec grep -wH six \{\} \;|grep import |grep -v ansible.compat|grep -v ansible.module_utils) if test -n "$SIX_USERS" ; then printf "$SIX_USERS" exit 1