maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [PATCH maposmatic 2/4] Improve error message when R


From: Maxime Petazzoni
Subject: Re: [Maposmatic-dev] [PATCH maposmatic 2/4] Improve error message when RENDERING_RESULT_PATH does not exist
Date: Thu, 10 May 2012 08:12:30 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

* David MENTRE <address@hidden> [2012-05-10 09:31:55]:

> Hello Maxime,
> 
> 2012/5/8 Maxime Petazzoni <address@hidden>:
> >     if (not os.path.exists(RENDERING_RESULT_PATH)
> >         or not os.path.isdir(RENDERING_RESULT_PATH)):
> > -        l.error("%s does not exist or is not a directory! "
> > -                  "Please use a valid RENDERING_RESULT_PATH.")
> > +        l.error("%s does not exist, is not a directory! " %
> 
> That's a detail but I think the previous message "%s does not exist or
> is not a directory! " was clearer.

You're right, I don't know why I put a comma instead of 'or'. I'll send
a patch today.

/Max
-- 
Maxime Petazzoni <http://www.bulix.org>
 ``One by one, the penguins took away my sanity.''
Writing software in California

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]