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

Re: [PATCH] [cvs2svn] Code cleanup - eliminate duplicate code

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-08-25 18:03:09 CEST

On Sat, Aug 23, 2003 at 11:41:09AM +0100, Max Bowsher wrote:
> * tools/cvs2svn/cvs2svn.py (RepositoryMirror.delete_path):
> Restructure "if" statement to eliminate duplicate code.
>
> Index: cvs2svn.py
> ===================================================================
[snip]
> - if new_key:
> + if new_key == None:

Shouldn't that be "if new_key is None:"?

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 25 18:06:17 2003

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.