chiark / gitweb /
Merge branch 'tests-fedora' into 'master'
authorHans-Christoph Steiner <hans@guardianproject.info>
Mon, 27 Nov 2017 15:58:24 +0000 (15:58 +0000)
committerHans-Christoph Steiner <hans@guardianproject.info>
Mon, 27 Nov 2017 15:58:24 +0000 (15:58 +0000)
tests: fix pycodestyle lookup

See merge request fdroid/fdroidserver!386

hooks/pre-commit

index 34a2312ceae79f4c9f9a14c34943fc95aa167d2f..00d777f9829d3cdd92c43fb0b5d39f87b54e94ac 100755 (executable)
@@ -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