8000 Simplify implementation of temporary_path() by Tarrasch · Pull Request #2652 · spotify/luigi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Simplify implementation of temporary_path() #2652

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

Merged
merged 1 commit into from
Feb 14, 2019

Conversation

Tarrasch
Copy link
Contributor

Description

The context manager FileSystemTarget.temporary_path() rolled its own manager, it was overcomplicated so i rewrote using contextlib.

Have you tested this? If so, how?

Unit tests already existed. Since they were really poorly written I also rewrote them a bit.

The context manager FileSystemTarget.temporary_path() rolled its own
manager, it was overcomplicated so i rewrote using contextlib.
Copy link
Collaborator
@dlstadther dlstadther left a comment

Choose a reason for hiding this comment

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

LGTM

Test failures are same as master.

Feel free to merge

@Tarrasch Tarrasch merged commit 74027e8 into spotify:master Feb 14, 2019
@Tarrasch Tarrasch deleted the test_contextlib branch February 14, 2019 20:19
@Tarrasch
Copy link
Contributor Author

Thanks for the quick review!

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

Successfully merging this pull request may close these issues.

3 participants
0