vim-syntastic/vim-syntastic-3.9.0-python3-shebang.patch
Pavel Raiskup 8803c003b1 vim-syntastic-python: use python3 shebangs
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
2019-02-12 13:20:02 +01:00

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