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

Re: [PATCH] Fix Windows test failures - Python test suite bug in quoting a trailing backslash

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 09 Nov 2010 08:43:46 +0000

Paul Burba <ptburba_at_gmail.com> writes:

> File "C:\SVN\src-trunk-2\subversion\tests\cmdline\svntest\main.py",
> line 433, in spawn_process
> subprocess.list2cmdline(varargs)))
> File "C:\Python26\lib\subprocess.py", line 541, in list2cmdline
> needquote = (" " in arg) or ("\t" in arg) or ("|" in arg) or not arg
> TypeError: argument of type 'int' is not iterable
> FAIL: commit_tests.py 41: set revision props during remote mkdir
> ]]]
>
> No time to look into this further today, but I can check it out tomorrow.

Mapping to strings looks like it should fix that:

      subprocess.list2cmdline(map(str varargs))))

-- 
Philip
Received on 2010-11-09 09:44:30 CET

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