Module: check_mk
Branch: master
Commit: 4f4854fdfba15b05b01718a8229f369bc07366c1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4f4854fdfba15b…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Jul 9 11:42:47 2018 +0200
Fixed and enabled global-at-module-level warnings.
Change-Id: I412a1a180a400fb787ccf658d8bca40ac42ed7a6
---
tests/pylint/pylintrc | 1 -
web/htdocs/dashboard.py | 2 --
2 files changed, 3 deletions(-)
diff --git a/tests/pylint/pylintrc b/tests/pylint/pylintrc
index b0bd527..2eeb23d 100644
--- a/tests/pylint/pylintrc
+++ b/tests/pylint/pylintrc
@@ -32,7 +32,6 @@ disable=
eval-used,
exec-used,
fixme,
- global-at-module-level,
global-statement,
global-variable-undefined,
inconsistent-return-statements,
diff --git a/web/htdocs/dashboard.py b/web/htdocs/dashboard.py
index 02e6ff2..84c6e45 100644
--- a/web/htdocs/dashboard.py
+++ b/web/htdocs/dashboard.py
@@ -839,8 +839,6 @@ def page_create_dashboard():
# | Configures the global settings of a dashboard. |
# '----------------------------------------------------------------------'
-global vs_dashboard
-
def page_edit_dashboard():
load_dashboards(lock=html.is_transaction())