Module: check_mk
Branch: master
Commit: 87137b695e78c5ddeb9065ca0dfbeca6780b9eb1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=87137b695e78c5…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Mar 26 10:12:36 2018 +0200
pylint: Temporarily disable mod_python checks
The mod_python modules are not available in venv. For the
1.5 this change should be OK. This issue will be cleaned
up during 1.6 development.
Change-Id: I8836f11a372393a8a5adf3d3ca8392df573ec35c
---
web/htdocs/html_mod_python.py | 2 +-
web/htdocs/index.py | 2 +-
web/htdocs/modules.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/htdocs/html_mod_python.py b/web/htdocs/html_mod_python.py
index b69cced..a0d8f27 100644
--- a/web/htdocs/html_mod_python.py
+++ b/web/htdocs/html_mod_python.py
@@ -24,7 +24,7 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-from mod_python import Cookie, util, apache
+from mod_python import Cookie, util, apache # pylint: disable=import-error
from lib import make_utf8, MKGeneralException, MKException
from log import logger
import htmllib
diff --git a/web/htdocs/index.py b/web/htdocs/index.py
index 099073d..de45149 100644
--- a/web/htdocs/index.py
+++ b/web/htdocs/index.py
@@ -24,7 +24,7 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-from mod_python import apache
+from mod_python import apache # pylint: disable=import-error
import sys, os, pprint, __builtin__
import traceback
diff --git a/web/htdocs/modules.py b/web/htdocs/modules.py
index 6bf3879..05ae9ce 100644
--- a/web/htdocs/modules.py
+++ b/web/htdocs/modules.py
@@ -27,7 +27,7 @@
import os
from types import ModuleType
from lib import load_web_plugins, local_web_plugins_have_changed
-from mod_python.apache import import_module
+from mod_python.apache import import_module # pylint: disable=import-error
import pagetypes
# Register non page specific modules which are not having own pages,