8568: Enhance image_hash parsing when using Docker 1.10+
[arvados.git] / sdk / python / arvados / commands / run.py
index 5d29c45117acd71e924838bb9b758af77d8e9b91..54df452394e47bc7b44437bf580a3af2dc17b36e 100644 (file)
@@ -171,6 +171,7 @@ def uploadfiles(files, api, dry_run=False, num_retries=0, project=None, fnPatter
         pdh = item["portable_data_hash"]
 
     for c in files:
+        c.keepref = "%s/%s" % (pdh, c.fn)
         c.fn = fnPattern % (pdh, c.fn)
 
     os.chdir(orgdir)