Skip to content
Snippets Groups Projects
Commit eecbb28b authored by Patrick Godwin's avatar Patrick Godwin
Browse files

config.Config: only set x509userproxy in condor settings if one is provided

parent 6f6e74c4
No related branches found
No related tags found
1 merge request!41DAG Workflow Overhaul + OSG DAG support
......@@ -128,8 +128,8 @@ class Config:
submit_opts['+SingularityImage'] = f'"{singularity_image}"'
submit_opts['transfer_executable'] = False
submit_opts['getenv'] = False
if self.condor.transfer_files:
submit_opts['x509userproxy'] = 'x509_proxy'
if self.condor.transfer_files and self.source.x509_proxy:
submit_opts['x509userproxy'] = self.source.x509_proxy
submit_opts['use_x509userproxy'] = True
else:
submit_opts['getenv'] = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment