1
0
mirror of https://github.com/gryf/pylint-vim.git synced 2025-12-18 12:00:19 +01:00

Bugfix - check for lint object instead of pylint

This commit is contained in:
2017-03-13 21:23:08 +01:00
parent 0a2c744bd9
commit 4c4d9d30f6

View File

@@ -12,7 +12,7 @@ try:
from pylint import lint
from pylint.reporters.text import TextReporter
except ImportError:
pylint = None
lint = None
import vim
@@ -28,7 +28,7 @@ class VImPylint(object):
def run(self):
"""execute pylint and fill the quickfix"""
if not pylint:
if not lint:
vim.command("echo 'Error: pylint_fm.vim requires module pylint'")
return