[Zope-CMF] Re: [CMF-checkins] CVS: CMF/CMFCore - FSMetadata.py:1.5
Florent Guillaume
fg@nuxeo.com
23 Jun 2003 18:36:02 +0200
On Mon, 2003-06-23 at 18:15, Andy McKay wrote:
> > Also, why did you add another bare except:? Surely only specific
> > exceptions are useful.
>
> They are but there are so many exceptions that I know of that
> ConfigParser can through I did the next useful thing, if a error is
> raised tell the world about it.
They seem to all be subclasses of ConfigParser.Error, besides
ValueError.
> The problem is that an error here would go upstream and was fail without
> telling anyone, thats really bad. Guess it depends upon the attitude :)
I have no problem with logging stuff.
> That patch was over a month ago mate, so one of us would have to go and
> recreate this to find why it was failing without raising an error or
> logging to anything.
I'd try to recreate it if I knew the specifics of the errors you
encountered. As it is, I'll mark on my todo list to try and revisit
this. I hate bare excepts.
Florent
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com