Started work on a much simplified mod_python server

This commit is contained in:
Jason Gerard DeRose
2009-01-30 20:53:32 -07:00
committed by Rob Crittenden
parent 91ca06f079
commit c2b0c80140
10 changed files with 103 additions and 95 deletions

View File

@@ -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: