[ARVADOS] created: 8325a8860ac6c758e6c8005b4e31fa95a9412992

git at public.curoverse.com git at public.curoverse.com
Tue Oct 6 14:54:47 EDT 2015


        at  8325a8860ac6c758e6c8005b4e31fa95a9412992 (commit)


commit 8325a8860ac6c758e6c8005b4e31fa95a9412992
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Oct 6 15:04:13 2015 -0400

    7254: Do not forget -replication arg when failing to load resume state.

diff --git a/sdk/python/arvados/commands/put.py b/sdk/python/arvados/commands/put.py
index 7ca6e7c..6fa26c6 100644
--- a/sdk/python/arvados/commands/put.py
+++ b/sdk/python/arvados/commands/put.py
@@ -282,7 +282,9 @@ class ArvPutCollectionWriter(arvados.ResumableCollectionWriter):
                                     replication=replication)
         except (TypeError, ValueError,
                 arvados.errors.StaleWriterStateError) as error:
-            return cls(cache, reporter, bytes_expected, num_retries=num_retries)
+            return cls(cache, reporter, bytes_expected,
+                       num_retries=num_retries,
+                       replication=replication)
         else:
             return writer
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list