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

Re: CVS update: subversion/subversion/tests/clients/cmdline svn_output.py

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-04-15 14:14:34 CEST

Oh, crap! the Python debugger!

hehe... I've never used it. I find it faster to insert a "print" and run the
script again :-) That, with tracebacks, handles all my debugging needs :-)

Cheers,
-g

On Sat, Apr 14, 2001 at 09:26:18PM -0500, Ben Collins-Sussman wrote:
>
>
> Ah! But notice I'm writing python function calls like this() instead
> of this (). That's just for you, Greg. :)
>
> I'll be finishing the python port of our 2 .sh scripts tomorrow, now
> that I've figured out the python debugger...
>
>
> gstein@tigris.org writes:
>
> > User: gstein
> > Date: 01/04/14 12:13:04
> >
> > Modified: subversion/tests/clients/cmdline svn_output.py
> > Log:
> > I don't believe that I've ever seen a Python script that has spacing like
> > that. Gotta kill that style before it spreads... Otherwise, it Just Isn't
> > Python. :-)
> >
> > Revision Changes Path
> > 1.4 +2 -2 subversion/subversion/tests/clients/cmdline/svn_output.py
> >
> > Index: svn_output.py
> > ===================================================================
> > RCS file: /cvs/subversion/subversion/tests/clients/cmdline/svn_output.py,v
> > retrieving revision 1.3
> > retrieving revision 1.4
> > diff -u -r1.3 -r1.4
> > --- svn_output.py 2001/04/14 15:41:26 1.3
> > +++ svn_output.py 2001/04/14 19:13:04 1.4
> > @@ -77,8 +77,8 @@
> > are said to match."""
> >
> > remachine = re.compile(regexp)
> > - elist = expected_lines [:] # make copies so we can change them
> > - alist = actual_lines [:]
> > + elist = expected_lines[:] # make copies so we can change them
> > + alist = actual_lines[:]
> >
> > for eline in elist:
> > for aline in alist: # alist will shrink each time this loop starts
> >
> >
> >

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:28 2006

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