Module: check_mk
Branch: master
Commit: dfa82bf2361bce571364b22b24f4ea0455262bc7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dfa82bf2361bce…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Jul 4 10:14:04 2018 +0200
Fixed and enabled anomalous-unicode-escape-in-string warnings.
Change-Id: Ide21bfcb022755e5ba9fa2790d8660ef42165b23
---
tests/pylint/pylintrc | 1 -
web/plugins/wato/check_parameters.py | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/pylint/pylintrc b/tests/pylint/pylintrc
index f011c03..7359868 100644
--- a/tests/pylint/pylintrc
+++ b/tests/pylint/pylintrc
@@ -13,7 +13,6 @@ persistent=yes
[MESSAGES CONTROL]
disable=
abstract-method,
- anomalous-unicode-escape-in-string,
arguments-differ,
attribute-defined-outside-init,
bad-classmethod-argument,
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 743b41f..a470c6c 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -1494,7 +1494,7 @@ register_rule(group + '/' + subgroup_inventory,
'name will be hardcoded into the check. In that case if
you put %u into the service description, that will be replaced '
'by the actual user name during inventory. You need that
if your rule might match for more than one user - your would '
'create duplicate services with the same description
otherwise.</p><p>Windows users are specified by the namespace followed by
'
- 'the actual user name. For example "\\\\NT
AUTHORITY\NETWORK SERVICE" or
"\\\\CHKMKTEST\\Administrator".</p>'),
+ 'the actual user name. For example "\\\\NT
AUTHORITY\\NETWORK SERVICE" or
"\\\\CHKMKTEST\\Administrator".</p>'),
)),
('icon', UserIconOrAction(
title = _("Add custom icon or action"),