Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.01] Fix problem with cleaning up jobs in local runner. #3803

Merged
merged 1 commit into from Mar 22, 2017

Conversation

jmchilton
Copy link
Member

Fixes #3801 (broken in b78287f as part of #3291).

@@ -427,6 +429,19 @@ def default_job_file( files_dir, id_tag ):
def default_exit_code_file( files_dir, id_tag ):
return os.path.join( files_dir, 'galaxy_%s.ec' % id_tag )

def cleanup( self ):
for file in [ getattr( self, a ) for a in self.cleanup_file_attributes if hasattr( self, a ) ]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed for this PR, but it would be nice to use another variable name instead of file which is a standard library function in Python2.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed completely - next time I'm in there to clean up that TODO I added I'll try to remember to fix this as well.

@blankenberg blankenberg merged commit 65cbdde into galaxyproject:release_17.01 Mar 22, 2017
@galaxybot
Copy link
Contributor

This PR was merged without a milestone attached.

@jmchilton jmchilton added this to the 17.01 milestone Mar 22, 2017
@martenson martenson modified the milestones: 17.05, 17.01 Mar 22, 2017
@martenson
Copy link
Member

@jmchilton after release for release branch new things please target the next milestone, se we have it in release notes somewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants