Module: check_mk
Branch: master
Commit: 64b52f1bc37ae05d1957ef0e087193535a061851
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=64b52f1bc37ae0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 19 10:04:39 2016 +0100
Fixed pylint confusion with object type
Change-Id: Ia5057e05fe0b91ad7ef022883e1685b6528f0e61
---
web/htdocs/wato.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index e8d861b..622c6b6 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -13276,13 +13276,15 @@ class ModeNewRule(ModeEditRule):
self._ruleset.add_rule(self._folder, self._rule)
self._rulesets.save()
add_change("edit-rule", _("Created new rule in ruleset
\"%s\" in folder \"%s\"") %
- (self._ruleset.title(), self._folder.alias_path()),
- sites=self._folder.all_site_ids())
+ (self._ruleset.title(),
+ self._folder.alias_path()), # pylint: disable=no-member
+ sites=self._folder.all_site_ids()) # pylint: disable=no-member
def _success_message(self):
return _("Created new rule in ruleset \"%s\" in folder
\"%s\"") % \
- (self._ruleset.title(), self._folder.alias_path())
+ (self._ruleset.title(),
+ self._folder.alias_path()) # pylint: disable=no-member