From 4c4d9d30f647ec3acf5725a9c9ecc3028703f25c Mon Sep 17 00:00:00 2001 From: gryf Date: Mon, 13 Mar 2017 21:23:08 +0100 Subject: [PATCH] Bugfix - check for lint object instead of pylint --- ftplugin/python/pylint_fn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ftplugin/python/pylint_fn.py b/ftplugin/python/pylint_fn.py index e9888dc..e8eb0a8 100644 --- a/ftplugin/python/pylint_fn.py +++ b/ftplugin/python/pylint_fn.py @@ -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