Module: check_mk
Branch: master
Commit: 391e3158f0ebd7b6e31ea72258705041a65481df
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=391e3158f0ebd7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Oct 12 11:18:32 2016 +0200
pylint seems not fail detecting pymssql.connect() method. disable the check
---
doc/treasures/active_checks/check_sql | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/treasures/active_checks/check_sql
b/doc/treasures/active_checks/check_sql
index ead9edd..f93a14f 100755
--- a/doc/treasures/active_checks/check_sql
+++ b/doc/treasures/active_checks/check_sql
@@ -170,6 +170,7 @@ try:
db = pymssql
if opt_port == None:
opt_port=1433
+ # pylint: disable=no-member
db_connection = db.connect(host=opt_hostname+":"+str(opt_port), \
database=opt_name, user=opt_user, password=opt_password )