|
From: Robin M. <rob...@gm...> - 2007-12-15 19:52:49
|
On Dec 15, 2007 8:17 AM, Michael Foord <fuz...@vo...> wrote: > Daniel Watkins wrote: > > However, I'm running into problems when I want a string config option > > to default to the empty string. If I use any of: > > prefix = string(default='') > > prefix = string(default="") > > prefix = string(default=None) > > and don't specify a value in the config file, then prefix is set to '', > > "" > > Does this *not* mean that prefix is set to an empty string? > > If it *does* mean that then what actually do you want to happen? I understood him to mean that the prefix gets set to one of: - a string consisting of two single quotes - a string consisting of two double quotes - a string containing the word "None" and what he actually wants is an empty string. -- Robin Munn Rob...@gm... GPG key 0x4543D577 |