On Tue, May 18, 2010 at 05:56:13PM -0700, Brock Pytlik wrote:
> Webrev:
> http://cr.opensolaris.org/~bpytlik/ips-16001-v1/
>
> Bug:
> 16001 gui test suite broken again
Instead of catching every exception on import, would it be possible to
do something like:
try:
import XXX
except (EnvironmentError, ImportError):
This would catch the cases that might cause the module to fail to
import, but shouldn't catch _everything_. I'm assuming, of course, that
we really don't want to catch everything, but I've been wrong before...
-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss