Skip to content

Commit

Permalink
Clarify previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Sep 29, 2017
1 parent 54357f3 commit 94540ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/galaxy/jobs/handler.py
Expand Up @@ -94,7 +94,10 @@ def job_pair_for_id( self, id ):
return job, self.job_wrapper( job, use_persisted_destination=True )

def __write_registry_file_if_absent(self, job):
job_wrapper = self.job_wrapper(job)
# TODO: remove this and the one place it is called in late 2018, this
# hack attempts to minimize the job failures due to upgrades from 17.05
# Galaxies.
job_wrapper = self.job_wrapper(job)
cwd = job_wrapper.working_directory
datatypes_config = os.path.join(cwd, "registry.xml")
if not os.path.exists(datatypes_config):
Expand Down

0 comments on commit 94540ad

Please sign in to comment.