Re: Bug in farmconfig.py or user error? (Kevin Kleinfelter)

Nir Soffer <[email protected]> Mon, 8 Nov 2004 16:16:53 +0200
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
On 8 Nov, 2004, at 6:49, [email protected] wrote:
> I'll admit I'm not much of a Python programmer. I'm not sure if the 
> following is a bug or an error on my part...
> Setting data_underlay_dir in farmconfig.py has no effect on my system. 
>  farmconfig.py *is* getting executed (I added debugging print
> statements). When I set data_underlay_dir in farmconfig.py, I still 
> get the default value.  Setting it in wikiconfig.py works.
> Printing it in farmconfig before I set it does not print the value 
> from the default class -- it produces an error.
>
> Is it a bug, or am I just confused about how subclassing works in 
> Python?

The wikiconfig setting will override the farmconfig setting - its a 
design. Try to define it only on farmconfig.



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click