Fix the code-smell tests for six again

pull/16112/head
Toshio Kuratomi 8 years ago
parent 4d48711242
commit 73bb06ae84

@ -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

Loading…
Cancel
Save