path: root/tests/functional
diff options
authorChristoph Erhardt <>2022-06-17 22:15:27 +0200
committerChristoph Erhardt <>2022-06-17 22:15:37 +0200
commitf1682f96b4fb98212aa90e7d03450630ace720e6 (patch)
tree779813ff2293621a0bcdf3b2f9d4d975be40bb6b /tests/functional
parentbdfb5bfca3e98deed3bcb7e3480b8602b1d9644d (diff)
[Python 3]no debug output for ldap and sql
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/ 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:
Diffstat (limited to 'tests/functional')
0 files changed, 0 insertions, 0 deletions