1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix the code-smell tests for six again

This commit is contained in:
Toshio Kuratomi 2016-06-04 11:05:21 -07:00
parent 4d48711242
commit 73bb06ae84

View file

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