diff options
Diffstat (limited to 'vim/bundle/syntastic/syntax_checkers/python/compile.py')
m--------- | vim/bundle/syntastic | 0 | ||||
-rwxr-xr-x | vim/bundle/syntastic/syntax_checkers/python/compile.py | 13 |
2 files changed, 0 insertions, 13 deletions
diff --git a/vim/bundle/syntastic b/vim/bundle/syntastic new file mode 160000 +Subproject cee74e0c1af934065fd1b3046e53cda76574f70 diff --git a/vim/bundle/syntastic/syntax_checkers/python/compile.py b/vim/bundle/syntastic/syntax_checkers/python/compile.py deleted file mode 100755 index 32f1413..0000000 --- a/vim/bundle/syntastic/syntax_checkers/python/compile.py +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env python - -from __future__ import print_function -from sys import argv, exit - - -if len(argv) != 2: - exit(1) - -try: - compile(open(argv[1]).read(), argv[1], 'exec', 0, 1) -except SyntaxError as err: - print('%s:%s:%s: %s' % (err.filename, err.lineno, err.offset, err.msg)) |