And flip everything to Python 3. Somewhat related upstream report, since I'm not sure about potential consequences: https://github.com/vim-syntastic/syntastic/issues/2248 Resolves: rhbz#1676190 Version: 3.9.0-4
20 lines
634 B
Diff
20 lines
634 B
Diff
diff --git a/syntax_checkers/python/codec.py b/syntax_checkers/python/codec.py
|
|
index 6e980c7..850df25 100755
|
|
--- a/syntax_checkers/python/codec.py
|
|
+++ b/syntax_checkers/python/codec.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
|
|
from __future__ import print_function
|
|
from sys import argv, exit
|
|
diff --git a/syntax_checkers/python/compile.py b/syntax_checkers/python/compile.py
|
|
index 32f1413..2171563 100755
|
|
--- a/syntax_checkers/python/compile.py
|
|
+++ b/syntax_checkers/python/compile.py
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#!/usr/bin/python3
|
|
|
|
from __future__ import print_function
|
|
from sys import argv, exit
|