summaryrefslogtreecommitdiffstats
path: root/pykolab/cli/cmd_create_mailbox.py
diff options
context:
space:
mode:
authorChristoph Erhardt <kolab@sicherha.de>2022-06-17 22:15:27 +0200
committerChristoph Erhardt <kolab@sicherha.de>2022-06-17 22:15:37 +0200
commitf1682f96b4fb98212aa90e7d03450630ace720e6 (patch)
tree779813ff2293621a0bcdf3b2f9d4d975be40bb6b /pykolab/cli/cmd_create_mailbox.py
parentbdfb5bfca3e98deed3bcb7e3480b8602b1d9644d (diff)
downloadpykolab-master.tar.gz
[Python 3]no debug output for ldap and sqlHEADmaster
Summary: Error: no debug output in Python3 for ldap and sql var conf.debuglevel = 9 not set within "-d 9" checked in pykolab/auth/ldap/__init__.py line 414 so trace_level is not set main cause: retval is in all cases set as False, as it is not set within exec() to True. this don't throw any Python Error, but could be seen in debug output, as debuglevel is 0 also it is set on cli to 9 exec is statement in 2.7, changed to function in 3.x It doesn't need a code block execution here, so eval() does the job, too. eval() will lower the risk of a code injection. Reviewers: #pykolab_developers, sicherha Reviewed By: #pykolab_developers, sicherha Differential Revision: https://git.kolab.org/D3620
Diffstat (limited to 'pykolab/cli/cmd_create_mailbox.py')
0 files changed, 0 insertions, 0 deletions