[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] check-case-insensitive.py: Don't use 'string' library

From: Bhuvaneswaran Arumugam <bhuvan_at_collab.net>
Date: 2006-08-25 10:56:20 CEST

On Fri, 2006-08-25 at 14:18 +0530, Kamesh Jayachandran wrote:
> > @@ -288,17 +287,17 @@
> > else:
> > changedpath = changedroot + '/' + path
> > for added in changed.added:
> > - if (string.lower(added) == string.lower(changedpath)):
> > + if (added.lower() == changedpath.lower()):
> >
> The brackets around the conditional expression seems less pythonic. My 2
> cents :).

Yes, you are right. But i wanted it to make it separate from the
functional spec patch. Anyhow please find attached the revised patch for
review!

-- 
Regards,
Bhuvaneswaran

Received on Fri Aug 25 10:57:03 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.