mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-25 15:46:30 -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.
|
||||
"""
|
||||
|
||||
debug = opts.get('ipadebug')
|
||||
debug = "Off"
|
||||
|
||||
if opts:
|
||||
if opts is not None:
|
||||
debug = opts.get('ipadebug')
|
||||
if opts.get('krbccache'):
|
||||
self.set_krbccache(opts['krbccache'])
|
||||
self.set_principal(None)
|
||||
|
Loading…
Reference in New Issue
Block a user