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

Don't delete temp directory in fetch_via_vcs #78

Merged
merged 1 commit into from
Sep 6, 2022
Merged

Don't delete temp directory in fetch_via_vcs #78

merged 1 commit into from
Sep 6, 2022

Conversation

TG1999
Copy link
Collaborator

@TG1999 TG1999 commented Aug 9, 2022

Signed-off-by: Tushar Goel [email protected]

"""
if os.path.isdir(self.dest_dir):
shutil.rmtree(path=self.dest_dir)


def fetch_via_vcs(url):
"""
Take `url` as input and store the content of it at location specified at `location` string
Copy link
Member

Choose a reason for hiding this comment

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

There is no location arg here? Why create a temp directory and not accept instead a proper location?

@TG1999 TG1999 merged commit 718668d into master Sep 6, 2022
JonoYang pushed a commit that referenced this pull request Jul 21, 2023
@pombredanne pombredanne deleted the fix/77 branch October 15, 2024 16:48
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.

2 participants