pcp
[Top] [All Lists]

Re: [pcp] pcp updates

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] pcp updates
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 12 Feb 2015 00:49:22 -0500 (EST)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <54DC38B5.1080706@xxxxxxxxxxxxxxxx>
References: <54DC3339.5010000@xxxxxxxxxxxxxxxx> <265174262.4055069.1423717613146.JavaMail.zimbra@xxxxxxxxxx> <54DC38B5.1080706@xxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: f98w+jMsu9y6bZTSPk6YjmEfODmiDQ==
Thread-topic: pcp updates

----- Original Message -----
> On 12/02/15 16:06, Nathan Scott wrote:
> >
> >
> > ----- Original Message -----
> >> second one is well worth a review by someone who knows!
> >> [...]
> >>        pmatop: arrgh, got you! truncated output bug squashed
> >
> > Ah, nice one. :)  You could possibly use a more specific
> > Exception, like "except KeyError as e:"?  Otherwise looks
> > fine to me though.
> 
> The error is an os-level ENOENT ... I had no clue what sort of exception
> that maps to in Python-speak.

I think the more specific exception then would be "except OSError:" ?

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>