|
From: Rob D. <rd...@gm...> - 2014-08-29 13:37:09
|
Thanks Michael for confirming my read, and to Sumit for asking the question. I answered your question on SO a few moments ago. On Fri, Aug 29, 2014 at 9:24 AM, Michael Foord <fuz...@vo...> wrote: > On 29 Aug 2014, at 09:46, Sumit's Mailing Lists <li...@ba...> wrote: >> Hey there, >> >> I'm using ConfigObj for a project and am trying to get it to accept >> single element lists. I've run into a some issues which I documented on >> this Stackoverflow Questions: >> >> http://stackoverflow.com/questions/25561597/configobj-and-single-element-lists >> >> Is what I'm trying to do possibly with the current version of ConfigObj? > The correct syntax for a single element list is: > value = foo, > A trailing comma, no brackets or braces. The value you get back with two elements including an empty string is probably a bug though. > All the best, > Michael Foord >> >> Sumit >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Configobj-develop mailing list >> Con...@li... >> https://lists.sourceforge.net/lists/listinfo/configobj-develop > -- > http://www.voidspace.org.uk/ > May you do good and not evil > May you find forgiveness for yourself and forgive others > May you share freely, never taking more than you give. > -- the sqlite blessing > http://www.sqlite.org/different.html > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop |