4481: Fix ambiguous "Keep id" -> "locator" in example scripts.
authorTom Clegg <tom@curoverse.com>
Mon, 15 Dec 2014 17:18:33 +0000 (12:18 -0500)
committerBrett Smith <brett@curoverse.com>
Mon, 15 Dec 2014 17:58:46 +0000 (12:58 -0500)
doc/_includes/_0_filter_py.liquid
doc/_includes/_tutorial_hash_script_py.liquid

index ef89e13a106c418de9adea184efa4eaddefdc88c..831e1b8fddf66783bb43ccf38eb764b26df432c6 100644 (file)
@@ -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!
index 3fb48f87e039c4ac5c627be13f03980140e2ab41..ede28091de45f1b14556b721722153c3b1f3d70f 100644 (file)
@@ -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!