[Sugar-devel] [PATCH] Add the DescriptionItem if available
Gonzalo Odiard
godiard at sugarlabs.org
Thu Apr 26 08:30:39 EDT 2012
On Thu, Apr 26, 2012 at 9:10 AM, Manuel Kaufmann <humitos at gmail.com> wrote:
> On Thu, Apr 26, 2012 at 09:06, <godiard at sugarlabs.org> wrote:
> > + except:
> > + pass
> > +
>
> I think you should avoid "except:" catching all the exception possible
> there. Instead of this you should use "except ImportError:" in this
> case.
>
>
May be. Anyway, If there are _any_ problem with the item creation, I prefer
have the activity working without the button, to crash the activity.
Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120426/578dc10a/attachment.html>
More information about the Sugar-devel
mailing list