|
From: Michael F. <fuz...@vo...> - 2008-08-10 15:25:49
|
David B. wrote: > Im trying to use the exceptionlist that is mentioned in the docs on the > website to stop my program from erroring out if there is a duplicate > value entered in the config file. However, when i try to do > > from configobj import exceptionlist > > like the website says to do, i get the following: > > >>> from configobj import exceptionlist > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: cannot import name exceptionlist > ConfigObj doesn't define any 'exceptionlist', nor is it in the documentation. Where are you getting this example from? The ConfigObj exceptions are documented at: http://www.voidspace.org.uk/python/configobj.html#exceptions Michael Foord > can anyone help me? > thanks. > David. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Configobj-develop mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/configobj-develop > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/ http://www.trypython.org/ http://www.ironpython.info/ http://www.theotherdelia.co.uk/ http://www.resolverhacks.net/ |