diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-30 20:53:32 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-02-03 15:29:05 -0500 |
commit | c2b0c801400fcb59be8687f9faf061aa85bcffd2 (patch) | |
tree | 434634987f8888ad5b0b66db78627f9e37206c84 /ipalib/plugable.py | |
parent | 91ca06f079f4de1ca5e6c60cfdf7aae75f60821b (diff) | |
download | freeipa-c2b0c801400fcb59be8687f9faf061aa85bcffd2.tar.gz freeipa-c2b0c801400fcb59be8687f9faf061aa85bcffd2.tar.xz freeipa-c2b0c801400fcb59be8687f9faf061aa85bcffd2.zip |
Started work on a much simplified mod_python server
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r-- | ipalib/plugable.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py index 5a0076972..cf2919f1f 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -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: |