# HG changeset patch # User osimons # Date 1247004619 0 # Node ID dcee8ff20e82464424f01adca3a0d2a5423d570f # Parent 4b75e3f6f27cfbe809cd42f6b997a2548c0b2885 0.6dev: The `logs_dir` option is not a real `PathOption` as for that it would need to support config-relative path with possibly chained configs following trac:ticket:8358 (for 0.11.5). The fix just makes it a regular `Option` to keep current behaviour for all Trac 0.11+ versions. This fixes my test failures on #408. diff --git a/bitten/master.py b/bitten/master.py --- a/bitten/master.py +++ b/bitten/master.py @@ -14,7 +14,7 @@ import re import time -from trac.config import BoolOption, IntOption, PathOption +from trac.config import BoolOption, IntOption, Option from trac.core import * from trac.web import IRequestHandler, HTTPBadRequest, HTTPConflict, \ HTTPForbidden, HTTPMethodNotAllowed, HTTPNotFound, \ @@ -57,7 +57,7 @@ """The time in seconds after which a build is cancelled if the slave does not report progress.""") - logs_dir = PathOption('bitten', 'logs_dir', "log/bitten", doc= + logs_dir = Option('bitten', 'logs_dir', "log/bitten", doc= """The directory on the server in which client log files will be stored.""") quick_status = BoolOption('bitten', 'quick_status', False, doc=