tests: fix pycodestyle lookup

Pycodestyle is available as /usr/bin/pycodestyle-3 on Fedora.
This commit is contained in:
relan committed 2017-11-27 16:32:41 +03:00
1 parent b72d6d7dbb
commit 6498d24f36
1 file changed
+1 -1
+1 -1
View File
@@ -73,7 +73,7 @@ cmd_exists() {
find_command() {
for name in $@; do
for suff in "3" "-python3" ""; do
for suff in "3" "-3" "-python3" ""; do
cmd=${name}${suff}
if cmd_exists $cmd; then
echo $cmd