On 10/14/10 03:02 AM, Jan Damborsky wrote:
Hi Keith,
On 10/13/10 06:36 PM, Keith Mitchell wrote:
Hi Jan,
It'd be better to check status and len() of the output before
splitting the output - if the command errors out and returns an empty
string for status, the "co[0].split()[1]" command will fail.
Good point. I went with what Bart suggests, since I think it handles
all kind of potential failures.
If you are interested, I have updated the webrev with those changes:
http://cr.opensolaris.org/~dambi/bug-6991546/
Thank you for review !
Jan
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
Hey Jan,
Would it be better to trap on IndexError instead of StandardError?
Joe
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss