|
From: Mario A. <ma...@se...> - 2014-04-28 22:04:13
|
Hmm, yes you are correct it pointed out that JUNK was of the wrong type when I changed DEFAULT to lower case. Looks like a bug. -Mario On 04/28/14 14:46, Jim Crowell wrote: > It appears not to like capital letters as the field names, when I change > e.g. DEFAULT to default and so on, it works. > > -Jim C. > >> Date: Mon, 28 Apr 2014 13:22:39 -0700 >> From: Mario Aranha <ma...@se...> >> Subject: Re: [Configobj-develop] validate() always returns True >> To: con...@li... >> Message-ID: <535...@se...> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> If I change the config file: >> JUNK = "foobar" >> validate still returns True even though the spec file says JUNK is an >> integer. >> I also tried with unrepr=True parameter to configObj(). >> >> I would think its better to use the latest version rather than 4.7.2? >> Also, I'm using Python 2.6 for various other compatibility reasons. >> >> This is such a simple example so what am I doing wrong? >> >> -Mario > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop |