Module: check_mk
Branch: master
Commit: 2666bdacf9a171e5d703b4f54ae1d606c1adb7ee
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2666bdacf9a171…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 18 16:16:53 2016 +0100
Minor cleanup
---
web/htdocs/wato.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 97e8c69..64f5cf3 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -15009,7 +15009,7 @@ def execute_network_scan_job():
found = do_remote_automation(config.site(folder.site_id()),
"network-scan",
[("folder", folder.path())])
- if not type(found) == list:
+ if type(found) != list:
raise MKGeneralException(_("Received an invalid network scan result:
%r") % found)
add_scanned_hosts_to_folder(folder, found)