Skip to content

Commit

Permalink
Clarify previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton authored and natefoo committed Oct 18, 2017
1 parent 7fc354f commit 7a2b7f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/galaxy/jobs/handler.py
Expand Up @@ -95,7 +95,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 7a2b7f2

Please sign in to comment.