mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Started work on a much simplified mod_python server
This commit is contained in:
committed by
Rob Crittenden
parent
91ca06f079
commit
c2b0c80140
@@ -561,6 +561,8 @@ class API(DictProxy):
|
||||
# Add file handler:
|
||||
if self.env.mode in ('dummy', 'unit_test'):
|
||||
return # But not if in unit-test mode
|
||||
if self.env.log is None:
|
||||
return
|
||||
log_dir = path.dirname(self.env.log)
|
||||
if not path.isdir(log_dir):
|
||||
try:
|
||||
|
Reference in New Issue
Block a user