From: Peter Amstutz Date: Wed, 15 Jan 2014 20:20:53 +0000 (-0500) Subject: arv-get replaces spaces in get_prefix with \040 to match the manifest. Refs #1849 X-Git-Tag: 1.1.0~2722^2~69^2~12 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/a2cfa777daee2cf7775c8a24cde16fdc2f48060d?hp=343892aa0ef79cf607abbfd85a04a612990022e1 arv-get replaces spaces in get_prefix with \040 to match the manifest. Refs #1849 --- diff --git a/sdk/python/bin/arv-get b/sdk/python/bin/arv-get index 4154a3de5a..1025b8c626 100755 --- a/sdk/python/bin/arv-get +++ b/sdk/python/bin/arv-get @@ -130,6 +130,8 @@ if not get_prefix: logger.error(e) sys.exit(1) +get_prefix = get_prefix.replace(' ', '\\040') + reader = arvados.CollectionReader(collection) # Scan the collection. Make an array of (stream, file, local