changeset 577:dcee8ff20e82

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.
author osimons
date Tue, 07 Jul 2009 22:10:19 +0000
parents 4b75e3f6f27c
children 0a221cb3a860
files bitten/master.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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=
Copyright (C) 2012-2017 Edgewall Software