Multiple lines for description in Configuration File

18 views
Skip to first unread message

Franz

unread,
Oct 27, 2011, 4:00:15 AM10/27/11
to Trac Development
Hi,

I would like to set the default_description in trac.ini as following
wiki text

= Header1 =
= Header2 =

Is it possible in any way? I tried following ways:

Try 1:
default_description = = Header1 =
= Header2 =
Try 2:
default_description = = Header1 =\n= Header2 =
Try 3:
default_description = = Header1 =[[BR]]= Header2 =

Have a missed a possibility?

Thanks,
Franz

Remy Blank

unread,
Oct 27, 2011, 4:44:04 PM10/27/11
to trac...@googlegroups.com
Franz wrote:
> Have a missed a possibility?

Yes, you have. Try 4:

default_description = = Header1 =
= Header2 =

Line continuations must be indented with whitespace. See:

http://docs.python.org/library/configparser.html

-- Remy

signature.asc
Reply all
Reply to author
Forward
0 new messages