Jay Love <[EMAIL PROTECTED]> wrote:
> I also worry that this setup pushes the limit of using a dictionary as
> the configuration file format. I messed up and forgot to include a
> comma in places a couple of different times, and got cryptic errors
> (well, they'd be cryptic to a regular user). BUT, if someone would
> write the Web based configuration editing servlet, it wouldn't be as
> much of a concern. ;)
If the error messages are too cryptic, maybe it just means the reader
should be more robust to give better messages -- especially the comma
error, which is so common.
I'm not sure how you could do a web based configuration editing
servlet, because when you were halfway done you'd have broken the
installation and couldn't access the servlet.
If the reader is smarter, maybe we could make it check the extension
(.config, .lineconfig, maybe just .conf...) and read based on that.
Maybe it could use ConfigParser, but I don't think that supports any
sort of nesting... shlex looks more general.
Ian
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel