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...@gmail.com> on 2008/10/05 03:14:53 UTC

Re: svn commit: r33449 - in trunk: build/generator build/generator/util subversion/tests/cmdline tools/backup tools/dev tools/dev/iz

On Sat, Oct 4, 2008 at 5:13 PM,  <ar...@tigris.org> wrote:
>...
> +++ trunk/subversion/tests/cmdline/commit_tests.py      Sat Oct  4 17:13:35 2008        (r33449)
>...
> @@ -1816,7 +1816,7 @@ def from_wc_top_with_bad_editor(sbox):
>     None, svntest.verify.AnyOutput,
>     'ci', '--editor-cmd', 'no_such-editor')
>
> -  err = " ".join(map(string.strip, err))
> +  err = " ".join(map(str.strip, err))

I don't think that Python 2.2 had str.strip. It has "".strip, but I
don't think the constructor functions grew additional methods until
later.

Do you have a Python 2.2 handy to check this? If not, then I'll grab
one and build it.

Cheers,
-g

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

Re: svn commit: r33449 - in trunk: build/generator build/generator/util subversion/tests/cmdline tools/backup tools/dev tools/dev/iz

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Greg Stein wrote on Sat, 4 Oct 2008 at 20:14 -0700:
> On Sat, Oct 4, 2008 at 5:13 PM,  <ar...@tigris.org> wrote:
> > -  err = " ".join(map(string.strip, err))
> > +  err = " ".join(map(str.strip, err))
> 
> I don't think that Python 2.2 had str.strip. It has "".strip, but I
> don't think the constructor functions grew additional methods until
> later.
> 
> Do you have a Python 2.2 handy to check this? If not, then I'll grab
> one and build it.
> 

    % python -c 'print str.strip("foo")'
    foo
    % python -V
    Python 2.2.1


> Cheers,
> -g

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