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
This commit is contained in:
Björn Zettergren 2021-03-19 16:22:32 +01:00 committed by Benjamin Renard
parent 7153dfea86
commit 0b51046476

View file

@ -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: