From 84ff4ca0f1272bff2f3046db53d1ce4007f46e15 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 14 Jan 2011 16:45:37 -0500 Subject: 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. --- ipalib/plugable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugable.py') diff --git a/ipalib/plugable.py b/ipalib/plugable.py index d9884c714..264bb68cf 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -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: -- cgit