So, the fix to the slashes was a trivial
files = map( lambda x: re.sub( r'\\', '/', x ), files )
as the first line to UpstreamTool.upstreamMultipleFiles
In an ideal world, that probably should be protected to only be done when the local system's directory separator is not slash. I think that would be done as:
dirSep = os.path.join( 'a', 'b' )[1:-1]
if dirSep != '/':
files = map( lambda x: re.sub( dirSep, '/', x ), files )
|