[ARVADOS] created: 2a2db2f0550244921191dc8ef3427f5feeae25e2

git at public.curoverse.com git at public.curoverse.com
Mon Dec 15 12:20:26 EST 2014


        at  2a2db2f0550244921191dc8ef3427f5feeae25e2 (commit)


commit 2a2db2f0550244921191dc8ef3427f5feeae25e2
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Dec 15 12:18:33 2014 -0500

    4481: Fix ambiguous "Keep id" -> "locator" in example scripts.

diff --git a/doc/_includes/_0_filter_py.liquid b/doc/_includes/_0_filter_py.liquid
index ef89e13..831e1b8 100644
--- a/doc/_includes/_0_filter_py.liquid
+++ b/doc/_includes/_0_filter_py.liquid
@@ -21,10 +21,10 @@ with out.open('0-filter.txt') as out_file:
         # Output every line in the file that starts with '0'
         out_file.writelines(line for line in input_file if line.startswith('0'))
 
-# Commit the output to keep.  This returns a Keep id.
-output_id = out.finish()
+# Commit the output to Keep.
+output_locator = out.finish()
 
-# Set the output for this task to the Keep id
-this_task.set_output(output_id)
+# Use the resulting locator as the output for this task.
+this_task.set_output(output_locator)
 
 # Done!
diff --git a/doc/_includes/_tutorial_hash_script_py.liquid b/doc/_includes/_tutorial_hash_script_py.liquid
index 3fb48f8..ede2809 100644
--- a/doc/_includes/_tutorial_hash_script_py.liquid
+++ b/doc/_includes/_tutorial_hash_script_py.liquid
@@ -36,10 +36,10 @@ with out.open('md5sum.txt') as out_file:
     out_file.write("{} {}/{}\n".format(digestor.hexdigest(), input_id,
                                        os.path.normpath(input_path)))
 
-# Commit the output to keep.  This returns a Keep id.
-output_id = out.finish()
+# Commit the output to Keep.
+output_locator = out.finish()
 
-# Set the output for this task to the Keep id
-this_task.set_output(output_id)
+# Use the resulting locator as the output for this task.
+this_task.set_output(output_locator)
 
 # Done!

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list