]> git.arvados.org - arvados.git/commit
3699: bug fix
authorTim Pierce <twp@curoverse.com>
Mon, 20 Oct 2014 18:45:08 +0000 (14:45 -0400)
committerTim Pierce <twp@curoverse.com>
Mon, 20 Oct 2014 19:17:42 +0000 (15:17 -0400)
commit8bd432b7fe67766d6f92902e20b5e63c9f18146d
tree1288a3926e520fdd8950bbc28a72ee49279ae491
parentcdaf5c71016d2cad54d54e9b4b87bafe4554d376
3699: bug fix

The re.sub 'repl' function takes a MatchObject as argument, not a
string. Oops.

Also we need to do manifest.splitlines(True) in order to be able to tell
whether the manifest ends with a newline in the first place.
sdk/python/arvados/commands/copy.py