Merge pull request #4911 from jmchilton/backport_4858

[17.09] Backport #4858
This commit is contained in:
Martin Cech
2017-11-02 15:29:29 -04:00
committed by GitHub
+1 -1
View File
@@ -990,7 +990,7 @@ class JobWrapper(object, HasResourceParameters):
etype, evalue, tb = sys.exc_info()
outputs_to_working_directory = util.asbool(self.get_destination_configuration("outputs_to_working_directory", False))
if outputs_to_working_directory:
if outputs_to_working_directory and not self.__link_file_check():
for dataset_path in self.get_output_fnames():
try:
shutil.move(dataset_path.false_path, dataset_path.real_path)