You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein <gs...@lyra.org> on 2003/06/26 08:58:42 UTC

Re: svn commit: rev 6359 - trunk/tools/cvs2svn

On Thu, Jun 26, 2003 at 12:44:30AM -0500, kfogel@tigris.org wrote:
>...
> +++ trunk/tools/cvs2svn/cvs2svn.py	Thu Jun 26 00:44:29 2003
>...
>        if debugging:
> -        for n in range(i): print "  ",
> +        print "  " * i

You've lost the trailing comma. While the *i is more efficient, I believe
you still want that trailing comma:

  print "  " * i,

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: rev 6359 - trunk/tools/cvs2svn

Posted by kf...@collab.net.
Greg Stein <gs...@lyra.org> writes:
> > +++ trunk/tools/cvs2svn/cvs2svn.py	Thu Jun 26 00:44:29 2003
> >...
> >        if debugging:
> > -        for n in range(i): print "  ",
> > +        print "  " * i
> 
> You've lost the trailing comma. While the *i is more efficient, I believe
> you still want that trailing comma:
> 
>   print "  " * i,

D'oh!  Thanks, yes.  However many spaces I want, that's what I put
between the quotes, no more :-).


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org