2fff690caa
* Update module_utils.six to latest We've been held back on the version of six we could use on the module side to 1.4.x because of python-2.4 compatibility. Now that our minimum is Python-2.6, we can update to the latest version of six in module_utils and get rid of the second copy in lib/ansible/compat.
17 lines
347 B
Bash
Executable file
17 lines
347 B
Bash
Executable file
#!/bin/sh
|
|
|
|
BASESTRING_USERS=$(grep -r basestring . \
|
|
--exclude-dir .git \
|
|
--exclude-dir .tox \
|
|
| grep isinstance \
|
|
| grep -v \
|
|
-e test/results/ \
|
|
-e lib/ansible/module_utils/six/_six.py \
|
|
-e lib/ansible/modules/ \
|
|
-e '^[^:]*:#'
|
|
)
|
|
|
|
if [ "${BASESTRING_USERS}" ]; then
|
|
echo "${BASESTRING_USERS}"
|
|
exit 1
|
|
fi
|