Module: check_mk
Branch: master
Commit: 463bdd48c550a553185dda76678d0e714a71acb1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=463bdd48c550a5…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Sep 13 10:43:33 2018 +0200
uptime.include: Minor cleanup
Change-Id: I8f72b94a6b09c83e3f20900bb70a647327160227
---
checks/uptime.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/uptime.include b/checks/uptime.include
index f37f309..c9080de 100644
--- a/checks/uptime.include
+++ b/checks/uptime.include
@@ -99,7 +99,7 @@ snmp_uptime_info = ('.1.3.6.1.2.1', [
def snmp_scan_uptime(oid):
- return oid(".1.3.6.1.2.1.1.1.0") != None
+ return oid(".1.3.6.1.2.1.1.1.0") is not None
def inventory_snmp_uptime(info):