branch | stable |
changeset 16364 | f64b25f147d7 |
parent 16098 | c6c9b83a1e8a |
child 16373 | 329887a7074c |
child 16416 | c3aedd526d53 |
--- a/contrib/check-code.py Thu Apr 05 15:39:07 2012 +0200 +++ b/contrib/check-code.py Thu Apr 05 12:31:21 2012 +0100 @@ -94,6 +94,8 @@ "explicit exit code checks unnecessary"), (uprefix + r'set -e', "don't use set -e"), (uprefixc + r'( *)\t', "don't use tabs to indent"), + (uprefixc + r'.*do\s*true;\s*done', + "don't use true as loop body, use sleep 0"), ], # warnings []