Merge pull request #5485 from scholtalbers/fix/#5484_rename_post_actions

[18.01] Fix #5484
This commit is contained in:
John Chilton
2018-02-08 08:11:51 -05:00
committed by GitHub
+2 -1
View File
@@ -187,7 +187,8 @@ class RenameDatasetAction(DefaultJobAction):
# Lookp through inputs find one with "to_be_replaced" input
# variable name, and get the replacement name
for input_assoc in job.input_datasets:
input_names[input_assoc.name] = input_assoc.dataset.name
if input_assoc.dataset:
input_names[input_assoc.name] = input_assoc.dataset.name
# Ditto for collections...
for input_assoc in job.input_dataset_collections: