Shawn Walker wrote:
> On 02/ 1/11 04:23 PM, Danek Duvall wrote:
> >Shawn Walker wrote:
> ...
> >> line 2873: s/, e:/:/
> >
> >Should this actually just be "except:" rather than "except Exception:"?
>
> If you want to catch KeyboardInterrupt too, yes.
Hm. So then I'd want to do something like:
except Exception, e:
<process>
if isinstance(e, KeyboardInterrupt):
raise
right?
Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss