From 0b510464767a2615a4e516e90e394f07f0677985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Zettergren?= Date: Fri, 19 Mar 2021 16:22:32 +0100 Subject: [PATCH] removed unused variables/constants suspect these modules were added in initial commit after copying the demo/example from python-ldap repository, possibly from https://github.com/python-ldap/python-ldap/blob/master/Demo/initialize.py These are seemingly never used, and pylint complains about them --- check_syncrepl_extended | 2 -- 1 file changed, 2 deletions(-) diff --git a/check_syncrepl_extended b/check_syncrepl_extended index 9bede37..f2f1e36 100755 --- a/check_syncrepl_extended +++ b/check_syncrepl_extended @@ -261,8 +261,6 @@ FORMAT = "%(asctime)s - %(levelname)s: %(message)s" if options.debug: logging.basicConfig(level=logging.DEBUG, format=FORMAT) ldap.set_option(ldap.OPT_DEBUG_LEVEL, 0) # pylint: disable=no-member - ldapmodule_trace_level = 1 - ldapmodule_trace_file = sys.stderr elif options.nagios: logging.basicConfig(level=logging.ERROR, format=FORMAT) elif options.quiet: