From b937bad52e8d588b518a749127427bb7e9b35847 Mon Sep 17 00:00:00 2001 From: Chris Alfonso Date: Wed, 31 May 2017 10:54:20 -0600 Subject: [PATCH] Narrowing the match for python 3 cmp check (#25220) Allowing the yaml examples in python documentation. --- test/sanity/code-smell/no-list-cmp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sanity/code-smell/no-list-cmp.sh b/test/sanity/code-smell/no-list-cmp.sh index d5db30ba75..b71c112b8a 100755 --- a/test/sanity/code-smell/no-list-cmp.sh +++ b/test/sanity/code-smell/no-list-cmp.sh @@ -1,6 +1,6 @@ #!/bin/sh -CMP_USERS=$(grep -rI ' cmp[^a-zA-Z0-9_]' . \ +CMP_USERS=$(grep -rI ' cmp[^a-zA-Z0-9_:=]' . \ --exclude-dir .tox \ | grep -v \ -e lib/ansible/module_utils/six/_six.py \