mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Don't require or create the log dirs if we're just validating the API.
Fixes an error displayed in the automated builds, plus we don't want a Makefile messing around with our homedir.
This commit is contained in:
parent
f8c7afd15c
commit
84ff4ca0f1
@ -385,7 +385,7 @@ class API(DictProxy):
|
||||
|
||||
# If logging has already been configured somewhere else (like in the
|
||||
# installer), don't add handlers or change levels:
|
||||
if len(log.handlers) > 0:
|
||||
if len(log.handlers) > 0 or self.env.validate_api:
|
||||
return
|
||||
|
||||
if self.env.debug:
|
||||
|
Loading…
Reference in New Issue
Block a user