mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Fix error when using with TurboGears
This commit is contained in:
parent
2807525128
commit
fddae7a8a2
@ -124,9 +124,10 @@ class IPAServer:
|
|||||||
that and None for proxy dn to make calling getConn() easier.
|
that and None for proxy dn to make calling getConn() easier.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
debug = opts.get('ipadebug')
|
debug = "Off"
|
||||||
|
|
||||||
if opts:
|
if opts is not None:
|
||||||
|
debug = opts.get('ipadebug')
|
||||||
if opts.get('krbccache'):
|
if opts.get('krbccache'):
|
||||||
self.set_krbccache(opts['krbccache'])
|
self.set_krbccache(opts['krbccache'])
|
||||||
self.set_principal(None)
|
self.set_principal(None)
|
||||||
|
Loading…
Reference in New Issue
Block a user