From b47b55172b392e214208a38af03eff4d461cfb64 Mon Sep 17 00:00:00 2001 From: Carlos Meza Date: Sun, 18 Feb 2018 20:22:05 -0800 Subject: [PATCH] pylint import-error bug workaround for distutils --- bootstrapvz/common/tasks/host.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrapvz/common/tasks/host.py b/bootstrapvz/common/tasks/host.py index 73d7d3d..7238ad1 100644 --- a/bootstrapvz/common/tasks/host.py +++ b/bootstrapvz/common/tasks/host.py @@ -12,6 +12,8 @@ class CheckExternalCommands(Task): import re import os import logging + # https://github.com/PyCQA/pylint/issues/73 + # pylint: disable=no-name-in-module,import-error,useless-suppression from distutils.spawn import find_executable missing_packages = [] log = logging.getLogger(__name__)