diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-10-15 17:55:23 -0700 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-10-16 08:21:28 -0700 |
commit | baa309309d4041678bac4352da62a3b555b4fd49 (patch) | |
tree | cb863a297bb37d9beac11a850ca0f8c785f55f71 /test | |
parent | 28c933ce5eff7de7f9fea538f52620d7a86b9895 (diff) | |
download | ansible-six-compat.tar.gz |
Bundle a new version of python-six for compatibility along with some code to make it easy for distributions to override the bunndled copy if they have a new enough version.six-compat
Diffstat (limited to 'test')
-rwxr-xr-x | test/code-smell/replace-urlopen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/code-smell/replace-urlopen.sh b/test/code-smell/replace-urlopen.sh index 410b2e565e..404caf3098 100755 --- a/test/code-smell/replace-urlopen.sh +++ b/test/code-smell/replace-urlopen.sh @@ -3,7 +3,7 @@ BASEDIR=${1-"."} URLLIB_USERS=$(find "$BASEDIR" -name '*.py' -exec grep -H urlopen \{\} \;) -URLLIB_USERS=$(echo "$URLLIB_USERS" | sed '/\(\n\|lib\/ansible\/module_utils\/urls.py\)/d') +URLLIB_USERS=$(echo "$URLLIB_USERS" | sed '/\(\n\|lib\/ansible\/module_utils\/urls.py\|lib\/ansible\/compat\/six\/_six.py\)/d') if test -n "$URLLIB_USERS" ; then printf "$URLLIB_USERS" exit 1 |