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:
parent
7153dfea86
commit
0b51046476
1 changed files with 0 additions and 2 deletions
|
@ -261,8 +261,6 @@ FORMAT = "%(asctime)s - %(levelname)s: %(message)s"
|
||||||
if options.debug:
|
if options.debug:
|
||||||
logging.basicConfig(level=logging.DEBUG, format=FORMAT)
|
logging.basicConfig(level=logging.DEBUG, format=FORMAT)
|
||||||
ldap.set_option(ldap.OPT_DEBUG_LEVEL, 0) # pylint: disable=no-member
|
ldap.set_option(ldap.OPT_DEBUG_LEVEL, 0) # pylint: disable=no-member
|
||||||
ldapmodule_trace_level = 1
|
|
||||||
ldapmodule_trace_file = sys.stderr
|
|
||||||
elif options.nagios:
|
elif options.nagios:
|
||||||
logging.basicConfig(level=logging.ERROR, format=FORMAT)
|
logging.basicConfig(level=logging.ERROR, format=FORMAT)
|
||||||
elif options.quiet:
|
elif options.quiet:
|
||||||
|
|
Loading…
Reference in a new issue